Skip to content

Commit

Permalink
Merge pull request #21 from microsoft/fixMacOSTests
Browse files Browse the repository at this point in the history
Fix macOS tests execution.
  • Loading branch information
azchohfi committed Sep 21, 2023
2 parents 4a0d714 + 07f5ac7 commit 59d483c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,17 @@ jobs:
- name: Build
run: dotnet build MSStore.CLI.sln --no-restore /p:Configuration=Release
- name: Test
if: ${{ matrix.os != 'macos-latest' }}
env:
CollectCoverage: true
CoverletOutputFormat: cobertura
run: dotnet test MSStore.CLI.sln --no-restore /p:Configuration=Release --logger trx
- name: Test
if: ${{ matrix.os == 'macos-latest' }}
env:
CollectCoverage: true
CoverletOutputFormat: cobertura
run: dotnet test MSStore.CLI.sln --no-restore /p:Configuration=Release --logger trx & wait
- name: Display test results
uses: dorny/test-reporter@v1
if: always()
Expand Down

0 comments on commit 59d483c

Please sign in to comment.