Skip to content

Commit

Permalink
ci: exclude tests sonarcloud (#1118)
Browse files Browse the repository at this point in the history
* Exclude tests from sonarcloud reports
* ci: only consider zk folder
  • Loading branch information
vcastellm authored Sep 5, 2024
1 parent 93d83d0 commit ae7cafb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions sonar-project.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
sonar.projectKey=0xPolygonHermez_cdk-erigon
sonar.organization=0xpolygonhermez

sonar.exclusions=**/*_test.go,**/vendor/**,**/mocks/**,/test/**

sonar.tests=./zk,./zkevm
sonar.test.inclusions=**/*_test.go
sonar.test.exclusions=**/vendor/**
sonar.issue.enforceSemantic=true

# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
sonar.sources=./zk,./zkevm
sonar.go.coverage.reportPaths=coverage.out

0 comments on commit ae7cafb

Please sign in to comment.