Skip to content

Commit

Permalink
Test only on ubuntu unless master branch
Browse files Browse the repository at this point in the history
  • Loading branch information
BigBang1112 committed Aug 17, 2024
1 parent 3dea559 commit 08fae40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
run: dotnet build -c Release --no-restore /p:ContinuousIntegrationBuild=true

- name: Test
if: github.ref == 'refs/heads/master'
if: ${{ (matrix.os == 'ubuntu-latest') || (github.ref == 'refs/heads/master') }}
run: dotnet test -c Release --no-build --verbosity normal --no-build --collect:"XPlat Code Coverage" --results-directory ./coverage

- name: Code Coverage Report
Expand Down

0 comments on commit 08fae40

Please sign in to comment.