Skip to content

Commit

Permalink
Use FORCE_COLOR instead of CLI args (#839)
Browse files Browse the repository at this point in the history
  • Loading branch information
bhrutledge committed Nov 28, 2021
1 parent 4b11da4 commit 4016a6b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
schedule:
- cron: "0 0 * * *" # daily

env:
FORCE_COLOR: "1"
TOX_TESTENV_PASSENV: "FORCE_COLOR"

jobs:
lint:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -43,7 +47,7 @@ jobs:
- name: Run type-checking
run: python -m tox -e types
- name: Run tests
run: python -m tox -e py -- --cov-report xml --color yes
run: python -m tox -e py -- --cov-report xml
- uses: codecov/codecov-action@v1
if: github.event_name != 'schedule'
with:
Expand Down

0 comments on commit 4016a6b

Please sign in to comment.