There was an error while loading. Please reload this page.
2 parents ab9a279 + ba02c16 commit 94718b4Copy full SHA for 94718b4
1 file changed
.github/workflows/main.yml
@@ -39,8 +39,13 @@ jobs:
39
- name: Build
40
run: dotnet build --configuration Release --no-restore
41
42
- - name: Run tests
+ - name: Run tests (coverage)
43
+ if: matrix.os == 'ubuntu-latest' && matrix.dotnet-version == '10.0.x'
44
run: dotnet test --configuration Release --no-build --verbosity normal --collect:"XPlat Code Coverage" --results-directory ./coverage
45
+
46
+ - name: Run tests
47
+ if: !(matrix.os == 'ubuntu-latest' && matrix.dotnet-version == '10.0.x')
48
+ run: dotnet test --configuration Release --no-build --verbosity normal
49
50
- name: Upload coverage to Codecov
51
if: matrix.os == 'ubuntu-latest' && matrix.dotnet-version == '10.0.x'
0 commit comments