-
Notifications
You must be signed in to change notification settings - Fork 6
34 lines (31 loc) · 978 Bytes
/
run_tests.yml
File metadata and controls
34 lines (31 loc) · 978 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Run tests
on:
pull_request:
jobs:
run-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.2.2
# sets up .NET
# version can be found here https://dotnet.microsoft.com/en-us/download/dotnet/9.0
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: '9.0.101'
- name: Install wasm-tools
run: dotnet workload install wasm-tools
- name: Build & Install
run: dotnet build
- name: Ensure browsers are installed
run: pwsh AudioCuesheetEditor.End2EndTests/bin/Debug/net9.0/playwright.ps1 install --with-deps
- name: Start App
run: dotnet run --project AudioCuesheetEditor &
- name: Run tests
run: dotnet test
- name: Upload traces
if: always()
uses: actions/upload-artifact@v4
with:
name: traces
path: AudioCuesheetEditor.End2EndTests/bin/Debug/net9.0/playwright-traces/
if-no-files-found: ignore