Skip to content

Commit

Permalink
added junit reporter
Browse files Browse the repository at this point in the history
  • Loading branch information
gebauerm committed Oct 20, 2024
1 parent b77724a commit f6f2597
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,15 @@ jobs:
- name: Test with pytest
run: |
pytest --junitxml=test/junit/test_report-${{ matrix.python-version }}.xml --cov-report=xml
- name: Upload test artifacts
- name: Upload Test Report
uses: actions/upload-artifact@v4
with:
name: test_report-${{ matrix.python-version }}.xml
path: test/junit/test_report-${{ matrix.python-version }}.xml
- name: Show Test Report
uses: dorny/test-reporter@v1
with:
name: Pytest Report
artifact: test_report-${{ matrix.python-version }}.xml
path: test_report-${{ matrix.python-version }}.xml
reporter: jest-junit

0 comments on commit f6f2597

Please sign in to comment.