Skip to content

Commit

Permalink
fixing sonar scan exclusions
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashwini Kumar committed Mar 3, 2023
1 parent e84b976 commit 2325060
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,10 @@ coverage:
paths:
- .coverage-reports

sonarqube-scan-sast:
variables:
CODE_SCANNING_EXCLUSIONS: "tests/**,schemas/**,docs/**"
PROJECT_NAME: $SONAR_PROJECT_KEY


# The stage below will deploy the documentation into GitLab pages whenever the main branch is updated
Expand Down
2 changes: 0 additions & 2 deletions sonar-project.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
sonar.projectKey=stratosphere_cloudpub
sonar.python.coverage.reportPaths=.coverage-reports/coverage.xml
sonar.exclusions=tests/**/*

0 comments on commit 2325060

Please sign in to comment.