Skip to content

Commit 5f03ae6

Browse files
committed
πŸ§‘πŸΌβ€πŸ’» Add Codecov integration
1 parent e41af82 commit 5f03ae6

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

β€Ž.github/workflows/ci.yml

+6
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@ jobs:
2828
run: pdm install -G test --frozen-lockfile
2929
- name: Run pytest
3030
run: pdm run pytest -v
31+
- name: Write coverage.xml
32+
run: pdm run coverage xml
33+
- name: Upload coverage data to Codecov
34+
uses: codecov/codecov-action@v4
35+
with:
36+
token: ${{ secrets.CODECOV_TOKEN }}
3137

3238
lint:
3339
name: 🧐 Lint

β€ŽREADME.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# πŸ—ƒοΈ Gentoo Cache Manager
22

33
[![CI][ci-badge]][ci]
4+
[![Coverage][cov-badge]][cov]
45

56
**Gentoo Cache Manager** aims to help you tweaking build cache settings for individual packages in [Gentoo Linux][gentoo] and some [Gentoo-based][gentoo-based] operating systems.
67

@@ -18,6 +19,8 @@ gcm disable glibc
1819

1920
[ci-badge]: https://img.shields.io/github/actions/workflow/status/Jamim/gentoo-cache-manager/ci.yml.svg
2021
[ci]: https://github.com/Jamim/gentoo-cache-manager/actions/workflows/ci.yml
22+
[cov-badge]: https://codecov.io/github/Jamim/gentoo-cache-manager/graph/badge.svg
23+
[cov]: https://app.codecov.io/github/Jamim/gentoo-cache-manager
2124
[gentoo]: https://www.gentoo.org
2225
[gentoo-based]: https://wiki.gentoo.org/wiki/Distributions_based_on_Gentoo
2326
[ccache]: https://wiki.gentoo.org/wiki/Ccache

0 commit comments

Comments
Β (0)