Skip to content

Commit 9f1489d

Browse files
committed
Update codecov step in build workflow
1 parent d53a4b2 commit 9f1489d

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

.coveragerc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[run]
2+
source=binarytree

.github/workflows/build.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ jobs:
4141
- name: Run Sphinx HTML
4242
run: python -m sphinx -b html -W docs docs/_build
4343
- name: Upload coverge to Codecov
44-
uses: codecov/codecov-action@v1
44+
uses: codecov/codecov-action@v2
4545
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.8'
4646
with:
47+
fail_ci_if_error: true
4748
token: ${{ secrets.CODECOV_TOKEN }}

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@
3434
"pytest-cov>=2.0.0",
3535
"sphinx",
3636
"sphinx_rtd_theme",
37+
"types-setuptools",
38+
"types-dataclasses",
3739
],
3840
},
3941
classifiers=[

0 commit comments

Comments
 (0)