Skip to content

Move playwright.ps1 to OCC.Testing.UI #10

Move playwright.ps1 to OCC.Testing.UI

Move playwright.ps1 to OCC.Testing.UI #10

Workflow file for this run

name: Orchard Core Contrib Testing
on:
pull_request:
branches: [ main ]
env:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
DOTNET_CLI_TELEMETRY_OPTOUT: true
jobs:
test:
runs-on: ${{ matrix.os }}
name: Build & Test
strategy:
fail-fast: false
matrix:
os: [ windows-latest ]
steps:
- uses: actions/checkout@v4
- name: Setup .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.*
- name: Restore
run: dotnet restore
- name: Build
run: dotnet build -c Release --no-restore
- name: Playwright
run: pwsh test/OrchardCoreContrib.Testing.UI.Tests/bin/Release/net8.0/playwright.ps1 install --with-deps
- name: Test
run: dotnet test test/OrchardCoreContrib.Testing.UI.Tests -c Release --no-restore --verbosity normal