From 22c88de90dc04c5a808f593574f744ed3b55c440 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Sat, 14 Nov 2020 23:51:05 +0200 Subject: [PATCH] Upload coverage from GHA (#480) * Upload coverage from GHA * Fix PytestConfigWarning: Unknown config option: python_paths --- .github/workflows/test.yml | 5 +++++ pytest.ini | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) 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 = .