diff --git a/.github/workflows/codecov.yml b/.github/workflows/coverage.yml similarity index 87% rename from .github/workflows/codecov.yml rename to .github/workflows/coverage.yml index b7b1b9a..9e78ff6 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/coverage.yml @@ -24,7 +24,7 @@ jobs: coverage run -m unittest - name: Generate coverage report - run: coverage report --fail-under=100 # Adjust minimum coverage threshold as needed + run: coverage report -m --fail-under=100 # Adjust minimum coverage threshold as needed - name: Upload coverage reports to Codecov uses: codecov/codecov-action@v3 diff --git a/Makefile b/Makefile index f29b0d3..732804c 100644 --- a/Makefile +++ b/Makefile @@ -17,7 +17,7 @@ venv: test: $(VENV_DIR)/bin/python -m coverage run -m unittest --failfast - $(VENV_DIR)/bin/coverage report + $(VENV_DIR)/bin/coverage report -m $(VENV_DIR)/bin/coverage html type-check: diff --git a/README.md b/README.md index d38aaf2..394c4d7 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ ***Pythonic Stream-like manipulation of iterables*** -[![codecov](https://codecov.io/gh/ebonnal/streamable/graph/badge.svg?token=S62T0JQK9N)](https://codecov.io/gh/ebonnal/streamable) +[![coverage](https://codecov.io/gh/ebonnal/streamable/graph/badge.svg?token=S62T0JQK9N)](https://codecov.io/gh/ebonnal/streamable) [![unittest](https://github.com/ebonnal/streamable/actions/workflows/unittest.yml/badge.svg?branch=main)](https://github.com/ebonnal/streamable/actions) [![typing](https://github.com/ebonnal/streamable/actions/workflows/typing.yml/badge.svg?branch=main)](https://github.com/ebonnal/streamable/actions) [![lint](https://github.com/ebonnal/streamable/actions/workflows/lint.yml/badge.svg?branch=main)](https://github.com/ebonnal/streamable/actions)