Skip to content

Commit 53e9110

Browse files
authored
Set global environment variables for coloring
1 parent a19dc15 commit 53e9110

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/ci.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
name: CI
2+
23
on:
34
push:
45
branches:
@@ -9,6 +10,10 @@ on:
910
- master
1011
- '*.x'
1112

13+
env:
14+
PY_COLORS: 1
15+
PRE_COMMIT_COLOR: always
16+
1217
jobs:
1318
tests:
1419
if: "!contains(github.event.head_commit.message, '[skip ci]')"
@@ -67,6 +72,3 @@ jobs:
6772

6873
- name: Run tox
6974
run: tox -e ${{ matrix.tox }}
70-
env:
71-
PY_COLORS: 1
72-
PRE_COMMIT_COLOR: always

0 commit comments

Comments
 (0)