Skip to content

Commit 9c7ff1e

Browse files
committed
Force pytest color output on CI
While pytest-sugar output gets mangled with extra newlines on CI, colorized output seems to work fine and improves readability.
1 parent eb56e7b commit 9c7ff1e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/cygwin-test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,4 +64,4 @@ jobs:
6464
- name: Test with pytest
6565
run: |
6666
set +x
67-
/usr/bin/python -m pytest -p no:sugar --instafail -vv
67+
/usr/bin/python -m pytest --color=yes -p no:sugar --instafail -vv

.github/workflows/pythonpackage.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878

7979
- name: Test with pytest
8080
run: |
81-
pytest -p no:sugar --instafail -vv
81+
pytest --color=yes -p no:sugar --instafail -vv
8282
continue-on-error: false
8383

8484
- name: Documentation

0 commit comments

Comments
 (0)