summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorJulian Berman <Julian@GrayVines.com>2020-08-30 11:34:58 -0400
committerJulian Berman <Julian@GrayVines.com>2020-08-30 12:13:32 -0400
commit9f25fb301dd2804c3d596a1fb816332473abc6b2 (patch)
tree47b54101a9b1e74429923b74fd77359b48425f09 /.github
parenta951fc780f43728f22082f338ec54f7eefd9f9a5 (diff)
downloadjsonschema-9f25fb301dd2804c3d596a1fb816332473abc6b2.tar.gz
Be able to run coverage on all toxenvs.
Shifts coverage into an optional CLI wrapper that's dropped in only when enabled via an environment variable. This means any toxenv can now be wrapped into a coverage run by running e.g. `tox -e py38-format-coverage` instead of `tox -e py38-format-tests`. Credits to @nedbat and @The-Compiler.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/coverage.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml
index b43b57a..446daf7 100644
--- a/.github/workflows/coverage.yml
+++ b/.github/workflows/coverage.yml
@@ -20,6 +20,6 @@ jobs:
- name: Install tox
run: python -m pip install tox
- name: Collect & Upload Coverage
- run: python -m tox -e codecov
+ run: python -m tox -e pypy3-format-coverage
env:
CODECOV_TOKEN: 2b38dae1-41c4-4435-a29d-79a1299e5617