Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
iwebcas authored Aug 15, 2024
1 parent 9f3c567 commit 82e2a4b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,11 @@ jobs:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
shell: powershell
run: |
try {
$ErrorActionPreference = 'Stop'
dotnet test .\clio.tests\clio.tests.csproj -nowarn:none `
/p:CollectCoverage=true /p:CoverletOutputFormat=opencover `
/p:CoverletOutput=".\..\TestResults\coverage.opencover.xml";
dotnet build-server shutdown;
} catch {
Write-Error "Tests failed.";
exit 1;
}
- name: Build and analyze
env:
Expand Down

0 comments on commit 82e2a4b

Please sign in to comment.