Skip to content

Commit 0e1e240

Browse files
author
Jonas Danke
committed
update
1 parent 723be3c commit 0e1e240

1 file changed

Lines changed: 12 additions & 17 deletions

File tree

.github/workflows/tests.yml

Lines changed: 12 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Run Fast Tests on Push only update
1+
name: Run Fast Tests on Push only
22

33
on:
44
push:
@@ -33,8 +33,11 @@ jobs:
3333
3434
- name: Run fast tests
3535
run: |
36-
python -m pytest -m "fast" -vv \
37-
> fast-output.txt 2>&1
36+
python -m pytest -m "fast" -vv \
37+
--html=fast-report.html \
38+
--self-contained-html \
39+
--junitxml=fast-report.xml
40+
3841
3942
- name: Upload fast test reports
4043
uses: actions/upload-artifact@v4
@@ -43,8 +46,7 @@ jobs:
4346
path: |
4447
fast-report.xml
4548
fast-report.html
46-
fast-output.txt
47-
49+
4850
full-tests:
4951
if: github.event_name == 'pull_request'
5052
runs-on: ubuntu-latest
@@ -68,11 +70,11 @@ jobs:
6870
6971
- name: Run full test suite
7072
run: |
71-
python -m pytest -m "fast" -vv \
72-
--html=fast-report.html \
73+
python -m pytest -vv \
74+
--junitxml=full-report.xml \
75+
--html=full-report.html \
7376
--self-contained-html \
74-
--junitxml=fast-report.xml
75-
77+
> full-output.txt 2>&1
7678
7779
- name: Upload full test reports
7880
uses: actions/upload-artifact@v4
@@ -81,11 +83,4 @@ jobs:
8183
path: |
8284
full-report.xml
8385
full-report.html
84-
85-
- name: Upload fast test reports
86-
uses: actions/upload-artifact@v4
87-
with:
88-
name: fast-test-reports
89-
path: |
90-
fast-report.html
91-
fast-report.xml
86+
full-output.txt

0 commit comments

Comments
 (0)