Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9c7ff1e

Browse filesBrowse 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
Copy full SHA for 9c7ff1e

File tree

Expand file treeCollapse file tree

2 files changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+2
-2
lines changed

‎.github/workflows/cygwin-test.yml

Copy file name to clipboardExpand all lines: .github/workflows/cygwin-test.yml
+1-1Lines changed: 1 addition & 1 deletion
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

Copy file name to clipboardExpand all lines: .github/workflows/pythonpackage.yml
+1-1Lines changed: 1 addition & 1 deletion
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.