Skip to content

Commit

Permalink
coverage badge
Browse files Browse the repository at this point in the history
  • Loading branch information
pschwllr committed May 7, 2024
1 parent cf1f6fb commit 237186f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
![Project Logo](assets/banner.png)

[![Code style: ruff-format](https://img.shields.io/badge/code%20style-ruff_format-6340ac.svg)](https://github.com/astral-sh/ruff)
![Coverage Status](https://raw.githubusercontent.com/pschwllr/minimal_project/main/coverage-badge.svg)
![Coverage Status](https://raw.githubusercontent.com/pschwllr/minimal_project/main/assets/coverage-badge.svg)

<h1 align="center">
ch200
Expand Down
File renamed without changes
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ basepython =
setenv =
PYTHONUNBUFFERED = yes
PYTEST_EXTRA_ARGS = -s
coverage: PYTEST_EXTRA_ARGS = --cov=src/ch200 --cov-report xml --cov-report term
coverage: PYTEST_EXTRA_ARGS = --cov=src/ch200 --cov-report xml:.tox/coverage.xml --cov-report term
passenv =
*
extras =
test
commands =
pytest {env:PYTEST_MARKERS:} {env:PYTEST_EXTRA_ARGS:} {posargs:-vv}
coverage: genbadge coverage -i coverage.xml
coverage: genbadge coverage -i .tox/coverage.xml -o assets/coverage-badge.svg
usedevelop = true

[testenv:docs]
Expand Down

0 comments on commit 237186f

Please sign in to comment.