Skip to content

Commit b288dbc

Browse files
Updated ci/cd to run tests.
1 parent f56b65d commit b288dbc

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

.github/workflows/main.yml

+13-1
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,21 @@ jobs:
2424
# Added Ahead-Of-Time workload
2525
- name: Add AOT Workload
2626
run: |
27-
dotnet workload install wasm-tools-net7
27+
dotnet workload install wasm-tools
2828
dotnet workload restore
2929
30+
# Build
31+
- name: Build
32+
run: dotnet build
33+
34+
# Install PlayWright
35+
- name: Install PlayWright
36+
run: pwsh tests/IntegrationTests/bin/Debug/net8.0/playwright.ps1 install --with-deps
37+
38+
# Run tests
39+
- name: Test
40+
run: dotnet test
41+
3042
# Generate the website
3143
- name: Publish
3244
run: dotnet publish samples/KristofferStrube.Blazor.WebAudio.WasmExample/KristofferStrube.Blazor.WebAudio.WasmExample.csproj --configuration Release --output build

0 commit comments

Comments
 (0)