Skip to content

Commit 20892be

Browse files
author
Jonas Danke
committed
update
1 parent 2a1e6a7 commit 20892be

3 files changed

Lines changed: 9 additions & 5 deletions

File tree

.github/workflows/tests.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff 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

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
# exclude certain types of files
66
*.doctree
7-
#*.txt
8-
#*.html
7+
*.txt
8+
*.html
99
*.js
1010
*.inv
1111
*.pyc

pytest.ini

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
[pytest]
22
markers =
33
fast: quick tests
4-
slow: long-running tests
4+
slow: long-running tests
5+
runonlinux: linux-only tests
6+
runlocal: local-only tests

0 commit comments

Comments
 (0)