Skip to content

Commit

Permalink
Update codecov step in build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
joowani committed Jan 29, 2022
1 parent 9e9d022 commit a1ff795
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[run]
source=dtags
3 changes: 2 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ jobs:
- name: Run pytest
run: py.test --cov=dtags --cov-report=xml
- name: Upload coverge to Codecov
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v2
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.8'
with:
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}
4 changes: 2 additions & 2 deletions dtags/version.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# coding: utf-8
# file generated by setuptools_scm
# don't change, don't track in version control
version = '3.2.5.dev0+g80daf36.d20210307'
version_tuple = (3, 2, 5, 'dev0+g80daf36', 'd20210307')
version = '4.0.5.dev1+ge884dd8.d20220129'
version_tuple = (4, 0, 5, 'dev1', 'ge884dd8.d20220129')
3 changes: 3 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@
"pre-commit>=2.9.3",
"pytest>=6.0.0",
"pytest-cov>=2.0.0",
"types-dataclasses",
"types-setuptools",
"types-python-slugify",
],
},
entry_points={
Expand Down

0 comments on commit a1ff795

Please sign in to comment.