Skip to content
This repository has been archived by the owner on Dec 24, 2024. It is now read-only.

Commit

Permalink
feat: provide coverage into the github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
1995parham committed Mar 10, 2024
1 parent 5102519 commit 2585c95
Show file tree
Hide file tree
Showing 3 changed files with 66 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ jobs:
python-version: '3.12'
- run: pip install pipenv
- run: pipenv install --dev -v
- run: pipenv run pytest
- run: pipenv run coverage run -m pytest
- run: pipenv run mypy .
- run: pipenv run pylint --enable-all-extensions --fail-under 8 app
- run: pipenv run pylint --enable-all-extensions --fail-under 5 app
- uses: codecov/codecov-action@v4
with:
files: coverage.out
1 change: 1 addition & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ pylint = "*"
mypy = "*"
pytest = "*"
httpx = "*"
coverage = "*"

[requires]
python_version = "3.12"
61 changes: 60 additions & 1 deletion Pipfile.lock

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

0 comments on commit 2585c95

Please sign in to comment.