Skip to content

Commit

Permalink
CHORE: reanimate codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
yashaka committed Jul 8, 2024
1 parent 9d99701 commit 1aac3b9
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 20 deletions.
24 changes: 5 additions & 19 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,22 +92,8 @@ jobs:
cp -r skip-covered Artifacts/skip-covered
if: env.GIT_DIFF

# can be improved by flags/options
# - name: Code Coverage
# uses: codecov/codecov-action@v3
# with:
# file: ./coverage.xml # optional
# name: selene-codecov # optional
# fail_ci_if_error: true # optional (default = false)
# verbose: true
# if: env.GIT_DIFF

# # can be organized better
# - name: Upload pytest test results
# uses: actions/upload-artifact@v3
# with:
# name: Code coverage
# path: |
# Artifacts
# coverage.xml
# if: env.GIT_DIFF
- name: Code Coverage
uses: codecov/codecov-action@v4.2.0
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
if: env.GIT_DIFF
17 changes: 16 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ pycodestyle = "*"
pylint = "^3.2.2"
pytest = "*"
pytest-cov = "*"
codecov = "*"
mypy = "*"
pydantic = "^1.10.7"
python-dotenv = "0.21.1"
Expand Down

0 comments on commit 1aac3b9

Please sign in to comment.