Skip to content

Commit 4016a6b

Browse files
authored
Use FORCE_COLOR instead of CLI args (#839)
1 parent 4b11da4 commit 4016a6b

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/main.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ on:
66
schedule:
77
- cron: "0 0 * * *" # daily
88

9+
env:
10+
FORCE_COLOR: "1"
11+
TOX_TESTENV_PASSENV: "FORCE_COLOR"
12+
913
jobs:
1014
lint:
1115
runs-on: ubuntu-latest
@@ -43,7 +47,7 @@ jobs:
4347
- name: Run type-checking
4448
run: python -m tox -e types
4549
- name: Run tests
46-
run: python -m tox -e py -- --cov-report xml --color yes
50+
run: python -m tox -e py -- --cov-report xml
4751
- uses: codecov/codecov-action@v1
4852
if: github.event_name != 'schedule'
4953
with:

0 commit comments

Comments
 (0)