summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo van Kemenade <hugovk@users.noreply.github.com>2020-11-14 23:51:05 +0200
committerGitHub <noreply@github.com>2020-11-14 23:51:05 +0200
commit22c88de90dc04c5a808f593574f744ed3b55c440 (patch)
tree85296f0af0b81fe9ac290d63c086ad5569ac1408
parent615e308559d356c76c97bd2b3b6e0fa33cb98420 (diff)
downloadtablib-22c88de90dc04c5a808f593574f744ed3b55c440.tar.gz
Upload coverage from GHA (#480)
* Upload coverage from GHA * Fix PytestConfigWarning: Unknown config option: python_paths
-rw-r--r--.github/workflows/test.yml5
-rw-r--r--pytest.ini1
2 files changed, 5 insertions, 1 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 3b4c630..cf69f23 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -46,3 +46,8 @@ jobs:
shell: bash
run: |
tox -e py
+
+ - name: Upload coverage
+ uses: codecov/codecov-action@v1
+ with:
+ name: ${{ matrix.os }} Python ${{ matrix.python-version }}
diff --git a/pytest.ini b/pytest.ini
index 2288651..32b87e3 100644
--- a/pytest.ini
+++ b/pytest.ini
@@ -1,4 +1,3 @@
[pytest]
norecursedirs = .git .*
addopts = -rsxX --showlocals --tb=native --cov=tablib --cov=tests --cov-report xml --cov-report term --cov-report html
-python_paths = .