Skip to content

Commit

Permalink
ci: Add coverage analysis via coveralls.io
Browse files Browse the repository at this point in the history
  • Loading branch information
kadler committed Oct 19, 2023
1 parent 32f97d5 commit d2ec84d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,7 @@ jobs:
poetry install
- name: Run tests
run: python -m pytest tests
- name: Report coverage
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
run: python -m coveralls
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ coverage = [
{ version = ">=6.3.0", python = ">=3.7" },
{ version = ">=4.5.4", python = "<3.7" },
]
coveralls = [
{ version = ">=3.3.0", python = ">=3.5" },
{ version = "<2", python = "<3.5" },
]
pytest-cov = "~2.8"
flake8 = ">=3.6.0"
mock = "^3.0.5"
Expand Down

0 comments on commit d2ec84d

Please sign in to comment.