From a1ff795c119a3b25d9eb61bebd151201903de0ad Mon Sep 17 00:00:00 2001 From: Joohwan Oh Date: Sat, 29 Jan 2022 02:38:48 -0800 Subject: [PATCH] Update codecov step in build workflow --- .coveragerc | 2 ++ .github/workflows/build.yaml | 3 ++- dtags/version.py | 4 ++-- setup.py | 3 +++ 4 files changed, 9 insertions(+), 3 deletions(-) create mode 100644 .coveragerc diff --git a/.coveragerc b/.coveragerc new file mode 100644 index 0000000..a49e1f8 --- /dev/null +++ b/.coveragerc @@ -0,0 +1,2 @@ +[run] +source=dtags diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 422f6a7..753e13d 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -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 }} diff --git a/dtags/version.py b/dtags/version.py index ba98076..8a539b4 100644 --- a/dtags/version.py +++ b/dtags/version.py @@ -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') diff --git a/setup.py b/setup.py index 955718f..c53f5c2 100755 --- a/setup.py +++ b/setup.py @@ -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={