diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index bca40c9..b9bd9fa 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -23,4 +23,11 @@ jobs: - name: Test run: | ./run_tests.sh - shell: bash \ No newline at end of file + shell: bash + + - name: Publish Test Report + uses: mikepenz/action-junit-report@v5 + if: always() + with: + report_paths: '**/test-reports/*.xml' + detailed_summary: true \ No newline at end of file diff --git a/.gitignore b/.gitignore index e817b43..4c3afba 100644 --- a/.gitignore +++ b/.gitignore @@ -40,3 +40,4 @@ staticfiles *.egg *.egg-info .approval_tests_temp/ +test-reports/ \ No newline at end of file diff --git a/run_tests.bat b/run_tests.bat index 55b033e..ce58156 100644 --- a/run_tests.bat +++ b/run_tests.bat @@ -1 +1 @@ -pytest \ No newline at end of file +pytest --junitxml=test-reports/report.xml \ No newline at end of file