Skip to content

Commit 1199fa3

Browse files
committed
ci: Add Codecov integration for coverage reports
This commit integrates Codecov into the CI workflow. It adds a new step to upload coverage reports to Codecov after the tests have been run. This allows us to track code coverage over time and identify areas of the codebase that are not well-tested. The Codecov token is retrieved from the repository secrets.
1 parent 28c1aa4 commit 1199fa3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,9 @@ jobs:
3232

3333
- name: Run tests
3434
run: npm test
35+
36+
- name: Upload coverage reports to Codecov
37+
uses: codecov/codecov-action@v5
38+
with:
39+
token: ${{ secrets.CODECOV_TOKEN }}
40+
slug: ioncakephper/php-theme-gen

0 commit comments

Comments
 (0)