Skip to content

Commit d520e95

Browse files
committed
Adding a report for unit testing
1 parent e591a5c commit d520e95

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/test-fastmon-utils.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,12 @@ jobs:
2626
env:
2727
PYTEST_DISABLE_PLUGIN_AUTOLOAD: '1' # avoid loading external pytest plugins
2828
run: |
29-
pytest -vs -q src/swf_fastmon_agent/tests/test_fastmon_utils.py
29+
pytest -vs -q --junitxml=test-results.xml src/swf_fastmon_agent/tests/test_fastmon_utils.py
30+
31+
- name: Test results
32+
uses: EnricoMi/publish-unit-test-result-action@v2
33+
if: always()
34+
with:
35+
files: test-results.xml
36+
check_name: FastMon Utils Test Results
3037

0 commit comments

Comments
 (0)