Skip to content

Commit ec2fcb3

Browse files
authored
fix step for uploading coverage to Codecov
1 parent b0a8ddc commit ec2fcb3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,15 @@ jobs:
2525
# - name: Check style
2626
# run: poetry run flake8 --exclude=docs*
2727
- name: Test with pytest
28-
run: |
29-
poetry run pytest --cov=./ --cov-report=xml
28+
run: poetry run pytest --cov=./ --cov-report=xml
3029
- name: Upload coverage to Codecov
3130
uses: codecov/codecov-action@v1
3231
with:
3332
token: ${{ secrets.CODECOV_TOKEN }}
3433
file: ./coverage.xml
3534
flags: unittests
3635
name: codecov-umbrella
36+
fail_ci_if_error: true
37+
name: codecov-umbrella
3738
yml: ./codecov.yml
3839
fail_ci_if_error: true

0 commit comments

Comments
 (0)