Skip to content

Commit

Permalink
update paths names
Browse files Browse the repository at this point in the history
  • Loading branch information
ggnaegi committed Oct 21, 2023
1 parent 836d216 commit d08ac8a
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/code_quality_sonarqube.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,14 @@ jobs:
run: dotnet restore Ocelot.sln
- name: Build
run: dotnet build --no-restore Ocelot.sln
- name: Unit & Integration Test
- name: Acceptance Tests
run: dotnet test test/Ocelot.AcceptanceTests/Ocelot.AcceptanceTests.csproj --no-build /p:CollectCoverage=true /p:CoverletOutput=TestResults/ /p:CoverletOutputFormat=opencover
- name: Rename paths in coverage file (Integration Test)
run: sed -i 's|/home/runner/work/Ocelot/Ocelot|/github/workspace|g' /home/runner/work/Ocelot/Ocelot/test/Ocelot.AcceptanceTests/TestResults/coverage.opencover.xml
- name: Rename paths in coverage file (Acceptance Tests)
run: sed -i 's|/home/runner/work/Ocelot/Ocelot|/github/workspace|g' /home/runner/work/Ocelot/Ocelot/test/Ocelot.AcceptanceTests/TestResults/coverage.opencover.xml
- name: Unit Tests
run: dotnet test test/Ocelot.UnitTests/Ocelot.UnitTests.csproj --no-build /p:CollectCoverage=true /p:CoverletOutput=TestResults/ /p:CoverletOutputFormat=opencover
- name: Rename paths in coverage file (Unit Tests)
run: sed -i 's|/home/runner/work/Ocelot/Ocelot|/github/workspace|g' /home/runner/work/Ocelot/Ocelot/test/Ocelot.UnitTests/TestResults/coverage.opencover.xml
- name: SonarScanner for .NET 7 with pull request decoration support
uses: highbyte/[email protected]
with:
Expand Down

0 comments on commit d08ac8a

Please sign in to comment.