Skip to content

Commit c34746a

Browse files
committed
chore: Add Codecov coverage reports
1 parent e6a1112 commit c34746a

3 files changed

Lines changed: 7 additions & 3 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ build/
2424
# Coverage reports
2525
.coverage*
2626
htmlcov
27+
coverage.xml
2728

2829
# IDE, editors
2930
.vscode

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ unit-tests:
2929
uv run pytest --numprocesses=auto -vv --cov=src/apify tests/unit
3030

3131
unit-tests-cov:
32-
uv run pytest --numprocesses=auto -vv --cov=src/apify --cov-report=html tests/unit
32+
uv run pytest --numprocesses=auto -vv --cov=src/apify --cov-report=html --cov-report=xml tests/unit
3333

3434
integration-tests:
3535
uv run pytest --numprocesses=$(INTEGRATION_TESTS_CONCURRENCY) -vv tests/integration

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,15 @@
77
<a href="https://pypi.org/project/apify/" rel="nofollow">
88
<img src="https://img.shields.io/pypi/dm/apify" alt="PyPI - Downloads" style="max-width: 100%;">
99
</a>
10-
<a href="https://pypi.org/project/apify/" rel="nofollow">
11-
<img src="https://img.shields.io/pypi/pyversions/apify" alt="PyPI - Python Version" style="max-width: 100%;">
10+
<a href="https://codecov.io/github/apify/apify-sdk-python" >
11+
<img src="https://codecov.io/github/apify/apify-sdk-python/branch/master/graph/badge.svg?token=TODO" alt="Code cov report"/>
1212
</a>
1313
<a href="https://discord.gg/jyEM2PRvMU" rel="nofollow">
1414
<img src="https://img.shields.io/discord/801163717915574323?label=discord" alt="Chat on discord" style="max-width: 100%;">
1515
</a>
16+
<a href="https://pypi.org/project/apify/" rel="nofollow">
17+
<img src="https://img.shields.io/pypi/pyversions/apify" alt="PyPI - Python Version" style="max-width: 100%;">
18+
</a>
1619
</p>
1720

1821
The Apify SDK for Python is the official library to create [Apify Actors](https://docs.apify.com/platform/actors)

0 commit comments

Comments
 (0)