Skip to content

Commit

Permalink
Add code climate coverage report
Browse files Browse the repository at this point in the history
  • Loading branch information
StdioA committed Aug 25, 2024
1 parent 4fa12e0 commit d99332a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/unit_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,14 @@ jobs:
pip install "sqlite-vec==0.1.1"
pip install pytest pytest-cov coverage codecov
- name: Test with pytest
run: |
pytest --cov
run: pytest --cov
- name: Upload results to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
- name: Upload results to Code Climate
uses: paambaati/[email protected]
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
with:
coverageCommand: coverage xml
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ tx_db.*
config.yaml
**/*.po~
.coverage
coverage.xml
htmlcov

0 comments on commit d99332a

Please sign in to comment.