From db5d29f40461b3c575b6319aa0f8d4322781be22 Mon Sep 17 00:00:00 2001 From: Sepand Haghighi Date: Wed, 19 Apr 2023 16:54:28 +0330 Subject: [PATCH] Test (#40) * fix : codecov removed from dev-requirements.txt * doc : CHANGELOG updated --- .github/workflows/test.yml | 7 ++++--- CHANGELOG.md | 1 + dev-requirements.txt | 1 - 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 39bed39..0295563 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -44,7 +44,8 @@ jobs: python -m bandit -r penney -s B311 python -m pydocstyle --match-dir=penney if: matrix.python-version == 3.8 - - name: Codecov - run: | - codecov + - name: Upload coverage to Codecov + uses: codecov/codecov-action@v3 + with: + fail_ci_if_error: true if: matrix.python-version == 3.8 && matrix.os == 'ubuntu-20.04' diff --git a/CHANGELOG.md b/CHANGELOG.md index 6c66f66..b9a19f8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] ### Changed - Test system modified +- `codecov` removed from `dev-requirements.txt` - `Python 3.10` added to `test.yml` - `Python 3.11` added to `test.yml` - `README.md` modified diff --git a/dev-requirements.txt b/dev-requirements.txt index 6844048..64b0b38 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -1,5 +1,4 @@ art==5.8 -codecov>=2.0.15 pytest>=4.3.1 pytest-cov>=2.6.1 setuptools>=40.8.0