Skip to content

Commit

Permalink
add coverage reporting step
Browse files Browse the repository at this point in the history
  • Loading branch information
mbthornton-lbl committed Dec 8, 2023
1 parent f7b0dd1 commit cceeb9e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/blt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ jobs:
poetry install
- name: Test with pytest
run: |
poetry run pytest ./tests --cov-report=term --cov-report=html \
poetry run pytest ./tests --junit-xml=pytest.xml --cov-report=term --cov-report=html \
--cov-report=xml --cov=nmdc_automation
- name: Pytest coverage comment
uses: MishaKav/pytest-coverage-comment@main
with:
pytest-xml-coverage-path: ./coverage.xml
junitxml-path: ./pytest.xml

0 comments on commit cceeb9e

Please sign in to comment.