Skip to content

Commit

Permalink
Getting codecov to work
Browse files Browse the repository at this point in the history
  • Loading branch information
AnotherSamWilson committed Jul 26, 2024
1 parent b86cfb6 commit fca7071
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 18 deletions.
15 changes: 0 additions & 15 deletions .coveragerc

This file was deleted.

9 changes: 6 additions & 3 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,11 @@ jobs:
run: isort miceforest --diff

- name: Pytest
run: pytest --cov-config .coveragerc --cov-report html --cov=miceforest
run: pytest --cov=miceforest --cov-report html

- name: Code Cov
run: codecov
- name: Upload coverage reports to Codecov
run: |
curl -Os https://cli.codecov.io/latest/linux/codecov
chmod +x codecov
./codecov --verbose upload-process --fail-on-error -t ${{ secrets.CODECOV_TOKEN }} -n 'service'-${{ github.run_id }} -F service -f coverage-service.xml

0 comments on commit fca7071

Please sign in to comment.