aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gmail.com>2021-03-04 13:14:32 -0700
committerTim Harder <radhermit@gmail.com>2021-03-04 13:19:55 -0700
commit31b92cdecdd0b612a2685982f246d829efc0614b (patch)
treece1439c381bdaef3fa13b0b33edcfd7726aefca0 /.github
parentpytest.plugin: add initial `git log` support for git repo fixtures (diff)
downloadpkgcore-31b92cdecdd0b612a2685982f246d829efc0614b.tar.gz
pkgcore-31b92cdecdd0b612a2685982f246d829efc0614b.tar.bz2
pkgcore-31b92cdecdd0b612a2685982f246d829efc0614b.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 cd9a7572..9a5828de 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -41,22 +41,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