Install only chromium on ubuntu ci #385
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: push | |
jobs: | |
ubuntu-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 8.0.x | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
- name: Install Playwright | |
run: npx playwright install --with-deps chromium | |
- name: Check out repository | |
uses: actions/checkout@v3 | |
- name: Build | |
run: dotnet build ./src/AutoTests.Framework.sln | |
- name: Test | |
run: dotnet test --no-build --no-restore ./src/AutoTests.Framework.sln | |
windows-tests: | |
runs-on: windows-latest | |
steps: | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 8.0.x | |
- name: Check out repository | |
uses: actions/checkout@v3 | |
- name: Build | |
run: dotnet build ./src/AutoTests.Framework.sln | |
- name: Test | |
run: dotnet test --no-build --no-restore ./src/AutoTests.Framework.sln |