Skip to content

Commit

Permalink
Create and collect test reports
Browse files Browse the repository at this point in the history
  • Loading branch information
truh authored Apr 23, 2024
1 parent 5cbc6e9 commit 9a4ff2f
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,12 @@ jobs:
poetry install
- name: Test with pytest
run: |
poetry run pytest
mkdir reports
poetry run pytest --junitxml=reports/pytest_report.xml
- name: Test Report
uses: dorny/test-reporter@v1
if: success() || failure() # run this step even if previous step failed
with:
name: Pytest Tests
path: reports/pytest-*.xml
reporter: java-junit

0 comments on commit 9a4ff2f

Please sign in to comment.