Skip to content
This repository was archived by the owner on May 27, 2025. It is now read-only.

Commit e40a0af

Browse files
committed
add upload of pytest artifacts
1 parent 4782085 commit e40a0af

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/integration.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,12 @@ jobs:
5555
- name: Run integration tests
5656
working-directory: ${{ github.workspace }}/backend
5757
run: |
58-
pytest -s --cov=src tests
58+
pytest --cov=src --junitxml=junit/test-results.xml tests/
59+
60+
- name: Upload pytest test results
61+
uses: actions/upload-artifact@v4
62+
with:
63+
name: pytest-results
64+
path: junit/test-results.xml
65+
# Use always() to always run this step to publish test results when there are test failures
66+
if: ${{ always() }}

0 commit comments

Comments
 (0)