Skip to content

Commit

Permalink
Force pytest color output on CI
Browse files Browse the repository at this point in the history
While pytest-sugar output gets mangled with extra newlines on CI,
colorized output seems to work fine and improves readability.
  • Loading branch information
EliahKagan committed Sep 25, 2023
1 parent eb56e7b commit 9c7ff1e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cygwin-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,4 @@ jobs:
- name: Test with pytest
run: |
set +x
/usr/bin/python -m pytest -p no:sugar --instafail -vv
/usr/bin/python -m pytest --color=yes -p no:sugar --instafail -vv
2 changes: 1 addition & 1 deletion .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:

- name: Test with pytest
run: |
pytest -p no:sugar --instafail -vv
pytest --color=yes -p no:sugar --instafail -vv
continue-on-error: false

- name: Documentation
Expand Down

0 comments on commit 9c7ff1e

Please sign in to comment.