Upload coverage from GHA (#480)

* Upload coverage from GHA

* Fix PytestConfigWarning: Unknown config option: python_paths
This commit is contained in:
Hugo van Kemenade
2020-11-14 23:51:05 +02:00
committed by GitHub
parent 615e308559
commit 22c88de90d
2 changed files with 5 additions and 1 deletions
+5
View File
@@ -46,3 +46,8 @@ jobs:
shell: bash shell: bash
run: | run: |
tox -e py tox -e py
- name: Upload coverage
uses: codecov/codecov-action@v1
with:
name: ${{ matrix.os }} Python ${{ matrix.python-version }}
-1
View File
@@ -1,4 +1,3 @@
[pytest] [pytest]
norecursedirs = .git .* norecursedirs = .git .*
addopts = -rsxX --showlocals --tb=native --cov=tablib --cov=tests --cov-report xml --cov-report term --cov-report html addopts = -rsxX --showlocals --tb=native --cov=tablib --cov=tests --cov-report xml --cov-report term --cov-report html
python_paths = .