Skip to content

Commit 0b8dc6b

Browse files
authored
Rename coverage upload step and add parameters (#3)
Updated the name of the coverage upload step and added token and slug parameters.
1 parent b3590a9 commit 0b8dc6b

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/main.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,12 @@ jobs:
3737
- name: Run tests
3838
run: python -m pytest -q --cov=src/commit_check_mcp --cov-report=xml
3939

40-
- name: Upload coverage
40+
- name: Upload coverage reports to Codecov
4141
if: matrix.python-version == '3.12'
4242
uses: codecov/codecov-action@v5
4343
with:
44+
token: ${{ secrets.CODECOV_TOKEN }}
45+
slug: commit-check/commit-check-mcp
4446
files: ./coverage.xml
4547

4648
build:

0 commit comments

Comments
 (0)