Skip to content

Commit

Permalink
Merge pull request #36 from siisurit/35-add-code-coverage-report
Browse files Browse the repository at this point in the history
#35 Add code coverage report
  • Loading branch information
roskakori authored Nov 25, 2024
2 parents 344bbfb + 9e2611a commit b9326f3
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 33 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,11 @@ jobs:
CHECK_DONE_PERSONAL_ACCESS_TOKEN: ${{ secrets.CHECK_DONE_PERSONAL_ACCESS_TOKEN }}
CHECK_DONE_USER_GITHUB_PROJECT_URL: ${{ secrets.CHECK_DONE_USER_GITHUB_PROJECT_URL }}
run: |
poetry run pytest --cov=check_done --cov-branch
poetry run pytest --cov=check_done --cov-branch --cov-report=xml
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}

check-style:
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[![PyPI](https://img.shields.io/pypi/v/check_done)](https://pypi.org/project/pygount/)
[![Python Versions](https://img.shields.io/pypi/pyversions/check_done.svg)](https://www.python.org/downloads/)
[![Build Status](https://github.com/siisurit/check_done/actions/workflows/build.yml/badge.svg)](https://github.com/roskakori/pygount/actions/workflows/build.yml)
[![codecov](https://codecov.io/gh/siisurit/check_done/graph/badge.svg?token=UIJZUCUJII)](https://codecov.io/gh/siisurit/check_done)
[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
[![License](https://img.shields.io/github/license/siisurit/check_done)](https://opensource.org/licenses/BSD-3-Clause)

Expand Down
33 changes: 2 additions & 31 deletions poetry.lock

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

1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ requests-mock = "^1.12.1"
pytest-order = "^1.3.0"

[tool.poetry.dev-dependencies]
coveralls = "^4"
coverage = "^7"
pytest = "^8"
pytest-cov = "^5"
Expand Down

0 comments on commit b9326f3

Please sign in to comment.