aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gmail.com>2021-03-04 13:29:01 -0700
committerTim Harder <radhermit@gmail.com>2021-03-04 13:44:12 -0700
commit98ade1f59d7e0ebe772eea1a104a44c1da48246a (patch)
treed9107ed1006028d6c6f430e08fe11dc72f63d484 /.github
parentcontexts: add initial os_environ context manager for os.environ mangling (diff)
downloadsnakeoil-98ade1f59d7e0ebe772eea1a104a44c1da48246a.tar.gz
snakeoil-98ade1f59d7e0ebe772eea1a104a44c1da48246a.tar.bz2
snakeoil-98ade1f59d7e0ebe772eea1a104a44c1da48246a.zip
various tox and github testing updates
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/test.yml13
1 files changed, 4 insertions, 9 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 96cdc330..6f030f3c 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -36,22 +36,17 @@ jobs:
- name: Install dependencies
run: |
- python -m pip install --upgrade pip coverage
- pip install -r requirements/dev.txt
+ python -m pip install --upgrade pip
pip install -r requirements/test.txt
+ pip install -r requirements/ci.txt
+ pip install .
- name: Test with pytest
# forcibly enable pytest colors
env:
PY_COLORS: 1
run: |
- coverage run -p setup.py test
-
- - name: Report code coverage
- run: |
- coverage combine
- coverage report
- coverage xml
+ pytest --cov --cov-report=term --cov-report=xml -v
- name: Submit code coverage to codecov
uses: codecov/codecov-action@v1