Skip to content

Commit

Permalink
fix: make coverage path relative to root directory
Browse files Browse the repository at this point in the history
  • Loading branch information
dasheck0 committed Aug 28, 2024
1 parent 9ae7f3d commit c7a071c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/test_and_scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ jobs:
with:
name: coverage-report
path: coverage/coverage.json
retention-days: 7
if-no-files-found: error

sonar:
runs-on: ubuntu-20.04
Expand Down
2 changes: 1 addition & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ sonar.organization=payone-gmbh
sonar.projectName=PCP-ServerSDK-ruby

sonar.sources=./lib
sonar.ruby.coverage.reportPaths=coverage/coverage.json
sonar.ruby.coverage.reportPaths=./coverage/coverage.json

sonar.coverage.exclusions=spec/**/*.rb,example-app/**/*.rb,lib/PCP-server-Ruby-SDK.rb,lib/PCP-server-Ruby-SDK/version.rb,lib/PCP-server-Ruby-SDK/models/**/*.rb,lib/PCP-server-Ruby-SDK/PCP-server-Ruby-SDK.rb
sonar.exclusions=spec/**/*.rb,example-app/**/*.rb,lib/PCP-server-Ruby-SDK.rb,lib/PCP-server-Ruby-SDK/version.rb,lib/PCP-server-Ruby-SDK/models/**/*.rb,lib/PCP-server-Ruby-SDK/PCP-server-Ruby-SDK.rb

0 comments on commit c7a071c

Please sign in to comment.