From 4016a6b72f280e7ad29228c5a9eabba8df9f90f9 Mon Sep 17 00:00:00 2001 From: Brian Rutledge Date: Sun, 28 Nov 2021 15:07:21 +0000 Subject: [PATCH] Use FORCE_COLOR instead of CLI args (#839) --- .github/workflows/main.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 51e42ebe..f3d2fc2f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 @@ -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: