Skip to content

Commit ffe29d1

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

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

.github/workflows/run_code_checks.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
unit_tests:
2828
name: Unit tests
2929
uses: apify/workflows/.github/workflows/python_unit_tests.yaml@main
30+
secrets: inherit
3031
with:
3132
python-versions: '["3.10", "3.11", "3.12", "3.13", "3.14"]'
3233

.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)