Skip to content

Commit 0db7474

Browse files
authored
Switching to codecov.io for coverage (#285)
1 parent 09baa5a commit 0db7474

File tree

5 files changed

+8
-9
lines changed

5 files changed

+8
-9
lines changed

.coveralls.yml

Lines changed: 0 additions & 1 deletion
This file was deleted.

.github/workflows/main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
run: |
4747
make test
4848
make services-down
49-
- name: Push Coveralls
50-
run: |
51-
pip install -q coveralls coveralls[yaml]
52-
coveralls
49+
- name: Upload coverage reports to Codecov
50+
uses: codecov/codecov-action@v5
51+
with:
52+
token: ${{ secrets.CODECOV_TOKEN }}

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ publish: clean install-test-requirements
4545
uv publish
4646

4747
clean:
48-
rm -rf .coverage *.egg-info dist/ requirements.txt uv.lock || true
48+
rm -rf *.egg-info dist/ requirements.txt uv.lock || true
4949
find . -type d -name __pycache__ -exec rm -rf {} \; || true
5050

5151
.PHONY: clean publish safetest test setup develop lint-python test-python _services-up

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ mocket /mɔˈkɛt/
55
.. image:: https://github.com/mindflayer/python-mocket/actions/workflows/main.yml/badge.svg?branch=main
66
:target: https://github.com/mindflayer/python-mocket/actions?query=workflow%3A%22Mocket%27s+CI%22
77

8-
.. image:: https://coveralls.io/repos/github/mindflayer/python-mocket/badge.svg?branch=main
9-
:target: https://coveralls.io/github/mindflayer/python-mocket?branch=main
8+
.. image:: https://codecov.io/github/mindflayer/python-mocket/graph/badge.svg?token=htRySebRBt
9+
:target: https://codecov.io/github/mindflayer/python-mocket
1010

1111
.. image:: https://app.codacy.com/project/badge/Grade/6327640518ce42adaf59368217028f14
1212
:target: https://www.codacy.com/gh/mindflayer/python-mocket/dashboard

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ exclude = [
8888
testpaths = [
8989
"tests", "mocket",
9090
]
91-
addopts = "--doctest-modules --cov=mocket --cov-report=term-missing --cov-append -v -x"
91+
addopts = "--doctest-modules --cov=mocket --cov-report=xml --cov-report=term-missing --cov-append -v -x"
9292

9393
[tool.ruff]
9494
src = ["mocket", "tests"]

0 commit comments

Comments
 (0)