Skip to content

Commit b9a1b6d

Browse files
authored
Merge pull request #1232 from consideRatio/pr/pytest-colors-in-gha
ci: make pytest colored in github workflows
2 parents 5651b33 + 0e9e236 commit b9a1b6d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -147,16 +147,16 @@ jobs:
147147
- name: Run main tests
148148
if: matrix.test == 'main'
149149
# running the "main" tests means "all tests that aren't auth"
150-
run: pytest -m "not auth" -v --maxfail=2 --cov binderhub --durations=10
150+
run: pytest -m "not auth" -v --maxfail=2 --cov binderhub --durations=10 --color=yes
151151
- name: Run auth tests
152152
if: matrix.test == 'auth'
153153
# running the "auth" tests means "all tests that are marked as auth"
154-
run: pytest -m "auth" -v --maxfail=2 --cov binderhub --durations=10
154+
run: pytest -m "auth" -v --maxfail=2 --cov binderhub --durations=10 --color=yes
155155
- name: Run helm tests
156156
if: matrix.test == 'helm'
157157
run: |
158158
export BINDER_URL=http://localhost:30901
159-
pytest -m "remote" -v --maxfail=2 --cov binderhub --durations=10
159+
pytest -m "remote" -v --maxfail=2 --cov binderhub --durations=10 --color=yes
160160
- name: Kubernetes namespace report
161161
if: ${{ always() }}
162162
run: |

0 commit comments

Comments
 (0)