Skip to content

Commit

Permalink
ci: Fix code coverage to show src code (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
lsetiawan authored Jun 10, 2024
1 parent 68cb1a2 commit a24c989
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ env:
# Many color libraries just need this to be set to any value, but at least
# one distinguishes color depth, where "3" -> "256-bit color".
FORCE_COLOR: 3
PROJECT_NAME: "ssec_project"

jobs:
pre-commit:
Expand Down Expand Up @@ -56,8 +57,8 @@ jobs:

- name: Test package
run: >-
python -m pytest -ra --cov --cov-report=xml --cov-report=term
--durations=20
python -m pytest -ra --cov=${{ env.PROJECT_NAME }} --cov-report=xml
--cov-report=term --durations=20
- name: Upload coverage report
uses: codecov/[email protected]
Expand Down

0 comments on commit a24c989

Please sign in to comment.