summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2022-11-29 06:56:56 -0500
committerNed Batchelder <ned@nedbatchelder.com>2022-11-29 07:41:39 -0500
commite955f106134029e2b8991a3ad1299377b73a0e55 (patch)
treebacf14a3d40fbf52527e623663e22dede2b8b7ef
parentaa62abd5ff33926f44fe4ec9e985ed3d72ea1f9d (diff)
downloadpython-coveragepy-git-e955f106134029e2b8991a3ad1299377b73a0e55.tar.gz
test: colored pytest output in GitHub Actions
-rw-r--r--.github/workflows/coverage.yml1
-rw-r--r--.github/workflows/testsuite.yml1
2 files changed, 2 insertions, 0 deletions
diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml
index 5130e3ff..aa740fa5 100644
--- a/.github/workflows/coverage.yml
+++ b/.github/workflows/coverage.yml
@@ -18,6 +18,7 @@ defaults:
env:
PIP_DISABLE_PIP_VERSION_CHECK: 1
+ FORCE_COLOR: 1 # Get colored pytest output
permissions:
contents: read
diff --git a/.github/workflows/testsuite.yml b/.github/workflows/testsuite.yml
index dbc90be3..f343d383 100644
--- a/.github/workflows/testsuite.yml
+++ b/.github/workflows/testsuite.yml
@@ -18,6 +18,7 @@ defaults:
env:
PIP_DISABLE_PIP_VERSION_CHECK: 1
COVERAGE_IGOR_VERBOSE: 1
+ FORCE_COLOR: 1 # Get colored pytest output
permissions:
contents: read