Skip to content

Commit

Permalink
. e add junit report
Browse files Browse the repository at this point in the history
Co-Authored-By: 4dsherwood <[email protected]>
Co-Authored-By: Nitsan Avni <[email protected]>
  • Loading branch information
3 people committed Nov 24, 2024
1 parent 9290f08 commit 7900812
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,11 @@ jobs:
- name: Test
run: |
./run_tests.sh
shell: bash
shell: bash

- name: Publish Test Report
uses: mikepenz/action-junit-report@v5
if: always()
with:
report_paths: '**/test-reports/*.xml'
detailed_summary: true
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,4 @@ staticfiles
*.egg
*.egg-info
.approval_tests_temp/
test-reports/
2 changes: 1 addition & 1 deletion run_tests.bat
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pytest
pytest --junitxml=test-reports/report.xml

0 comments on commit 7900812

Please sign in to comment.