diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 608b36f..656d021 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -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: