Skip to content

Commit 862c10e

Browse files
author
Charles Larivier
committed
fix: save coverage in current directory
Signed-off-by: Charles Larivier <charles@dribbble.com>
1 parent 5098382 commit 862c10e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/python-package.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,12 @@ jobs:
4848

4949
- name: Test with pytest
5050
run: |
51-
pipenv run pytest --cov=./coverage/reports/ --cov-report=xml
51+
pipenv run pytest --cov=./ --cov-report=xml
5252
5353
- name: Upload coverage to Codecov
5454
uses: codecov/codecov-action@v2
5555
with:
5656
token: ${{ secrets.CODECOV_TOKEN }}
57-
directory: ./coverage/reports/
57+
directory: ./
5858
env_vars: OS,PYTHON
5959
fail_ci_if_error: true

0 commit comments

Comments
 (0)