File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,10 +33,11 @@ jobs:
3333
3434 - name : Run fast tests
3535 run : |
36- python -m pytest -m "fast" -vv \
36+ python -m pytest -m "fast" -n 4 \
3737 --html=fast-report.html \
3838 --self-contained-html \
3939 --junitxml=fast-report.xml
40+ --reruns 2
4041
4142
4243 - name : Upload fast test reports
@@ -71,10 +72,11 @@ jobs:
7172
7273 - name : Run full test suite
7374 run : |
74- python -m pytest -vv \
75+ python -m pytest -n 4 \
7576 --junitxml=full-report.xml \
7677 --html=full-report.html \
7778 --self-contained-html \
79+ --reruns 2
7880 > full-output.txt 2>&1
7981
8082 - name : Upload full test reports
Original file line number Diff line number Diff line change 44
55# exclude certain types of files
66* .doctree
7- # *.txt
8- # *.html
7+ * .txt
8+ * .html
99* .js
1010* .inv
1111* .pyc
Original file line number Diff line number Diff line change 11[pytest]
22markers =
33 fast: quick tests
4- slow: long-running tests
4+ slow: long-running tests
5+ runonlinux: linux-only tests
6+ runlocal: local-only tests
You can’t perform that action at this time.
0 commit comments