Skip to content

Commit

Permalink
add coveragerc file
Browse files Browse the repository at this point in the history
  • Loading branch information
TawneeOwl committed Aug 23, 2024
1 parent 1122542 commit 66b7807
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 3 deletions.
Binary file removed .coverage
Binary file not shown.
2 changes: 2 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[run]
relative_files = True
2 changes: 1 addition & 1 deletion .github/workflows/main-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:

static-analysis:
name: Static Analysis
need: test
needs: test
uses: ./.github/workflows/static-analysis.yml
secrets:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ jobs:
with:
args: >
-Dsonar.python.version=3.12
-Dsonar.sources=app
-Dsonar.python.coverage.reportPaths=coverage/coverage.xml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ terraform.tfstate
__pycache__
database.db
.idea
.venv
.venv
.coverage

0 comments on commit 66b7807

Please sign in to comment.