Skip to content

edit pw pipeline

edit pw pipeline #57

# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
name: Playwright
on:
push:
branches: [ "workflow" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: mcr.microsoft.com/playwright/dotnet:v1.44.0-jammy
steps:
- uses: actions/checkout@v4
- name: Restore dependencies
run: dotnet restore
working-directory: PlaywrigthUITests
- name: Build
run: dotnet build --no-restore
working-directory: PlaywrigthUITests
- name: Test
run: dotnet test PlaywrigthUITests/PlaywrigthUITests.csproj --filter "Category=UI"