Skip to content

Commit

Permalink
Run iam_units.update in CI to measure coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
khaeru committed Apr 8, 2024
1 parent e85541b commit 001ebaf
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@ jobs:
-rA -vv --color=yes \
--cov=iam_units --cov-report=xml
- name: Test update code
run: |
# Analogous to "python -m iam_units.update …"
coverage run -m iam_units.update emissions || exit 0
- name: Upload test coverage to Codecov.io
uses: codecov/codecov-action@v4
with:
Expand Down

0 comments on commit 001ebaf

Please sign in to comment.