Skip to content

Commit 540bbfa

Browse files
authored
Update pipeline.yml
1 parent 2ce3a8f commit 540bbfa

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/pipeline.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,11 @@ jobs:
133133
pip install . --no-deps --no-build-isolation
134134
coverage run --omit="structuretoolkit/_version.py,tests/*" -m unittest discover tests
135135
coverage xml
136-
- name: Coverage
137-
if: matrix.label == 'linux-64-py-3-12'
138-
uses: coverallsapp/github-action@v2
136+
- name: Upload coverage reports to Codecov
137+
if: matrix.label == 'linux-64-py-3-12'
138+
uses: codecov/codecov-action@v5
139+
with:
140+
token: ${{ secrets.CODECOV_TOKEN }}
139141

140142
unittest_old:
141143
needs: [black]
@@ -171,4 +173,4 @@ jobs:
171173
run: gh pr merge --auto --squash "$PR_URL"
172174
env:
173175
PR_URL: ${{github.event.pull_request.html_url}}
174-
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}
176+
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 commit comments

Comments
 (0)