Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,12 @@ jobs:
- name: Test
run: |
make test
- name: Archive coverage report
uses: actions/upload-artifact@v4
with:
name: coverage-report
path: .coverage-reports/coverage.xml
- name: SonarQube Scan
uses: SonarSource/[email protected]
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ __pycache__/
# Distribution / packaging
.Python
build/
.coverage*
.coverage-reports/
coverage-reports/
develop-eggs/
dist/
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ include = [
]

[tool.coverage.html]
directory = "coverage-reports/html"
directory = ".coverage-reports/html"

[tool.coverage.xml]
output = "coverage-reports/coverage.xml"
output = ".coverage-reports/coverage.xml"
7 changes: 7 additions & 0 deletions sonar-project.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
sonar.projectKey=proveskit_PROVES_CircuitPython_RV3028
sonar.organization=proves-kit

sonar.sources=rv3028/
sonar.tests=tests/

sonar.python.coverage.reportPaths=.coverage-reports/coverage.xml