Skip to content

Bump the mstest group with 2 updates #135

Bump the mstest group with 2 updates

Bump the mstest group with 2 updates #135

name: PR Build
on:
pull_request:
branches: [ main ]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
DOTNET_VERSION: '9.0'
jobs:
buildAndTestPR:
runs-on: windows-latest
steps:
- name: Setup .NET
uses: actions/setup-dotnet@v5
with:
dotnet-version: ${{ env.DOTNET_VERSION }}.x
- name: Checkout
uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore --configuration Debug
- name: Install Playwright Browsers
shell: powershell
run: .\test\WebExtensions.Net.IntegrationTestsRunner\bin\Debug\net${{ env.DOTNET_VERSION }}\playwright.ps1 install chromium --with-deps
- name: Run tests
run: dotnet test --no-restore --no-build --configuration Debug