Skip to content

Commit 6398c7d

Browse files
committed
Dump junit XMLs from tests
1 parent 9866337 commit 6398c7d

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

Diff for: .github/workflows/ci.yml

+10-3
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,9 @@ jobs:
4141
- run: python -m pip install --upgrade wheel "poetry==1.4.0" poethepoet
4242
- run: poetry install --with pydantic --with dsl --with encryption
4343
- run: poe lint
44-
- run: poe test -s -o log_cli_level=DEBUG
45-
- run: poe test -s -o log_cli_level=DEBUG --workflow-environment time-skipping
44+
- run: mkdir junit-xml
45+
- run: poe test -s -o log_cli_level=DEBUG --junit-xml=junit-xml/${{ matrix.python }}--${{ matrix.os }}.xml
46+
- run: poe test -s -o log_cli_level=DEBUG --workflow-environment time-skipping --junit-xml=junit-xml/${{ matrix.python }}--${{ matrix.os }}--time-skipping.xml
4647

4748
# On latest, run gevent test
4849
- name: Gevent test
@@ -51,4 +52,10 @@ jobs:
5152
poetry install --with gevent
5253
poetry run python gevent_async/test/run_combined.py
5354
54-
55+
- name: Upload junit-xml artifacts
56+
uses: actions/upload-artifact@v4
57+
if: always()
58+
with:
59+
name: junit-xml--${{github.run_id}}--${{github.run_attempt}}--${{ matrix.python }}--${{ matrix.os }}
60+
path: junit-xml
61+
retention-days: 14

0 commit comments

Comments
 (0)