summaryrefslogtreecommitdiffstats
path: root/.github/workflows/ci.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/ci.yaml')
-rw-r--r--.github/workflows/ci.yaml13
1 files changed, 4 insertions, 9 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index f109f2e23..4e463af7c 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -49,10 +49,11 @@ jobs:
run: |
tox -e py-test
- - name: Test latest Python version with tox and get coverage
- if: matrix.python-version == '3.x'
+ - name: Upload code coverage
+ if: matrix.python-version == '3.7' && matrix.platform == 'ubuntu-latest'
run: |
- tox -vv -e py-cov
+ pip install codecov || true
+ codecov || true
- name: Test latest Python version with tox and mypy
if: matrix.python-version == '3.x'
@@ -63,12 +64,6 @@ jobs:
run: |
tox -vv -e py-mypy
- - name: Upload code coverage
- if: matrix.python-version == '3.x'
- run: |
- pip install codecov || true
- codecov || true
-
test-docs:
runs-on: ubuntu-latest