Skip to content

Commit f67277a

Browse files
committed
feat(ci): add Codecov coverage report upload
Add a step to the CI workflow that uploads coverage reports to Codecov. This step uses the `codecov/codecov-action@v3` action and requires the `CODECOV_TOKEN` secret.
1 parent 6bd6fe2 commit f67277a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,11 @@ jobs:
103103
with:
104104
files: ${{ github.workspace }}/build/reports/kover/xml/report.xml
105105

106+
- name: Upload coverage reports to Codecov
107+
uses: codecov/codecov-action@v3
108+
env:
109+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
110+
106111
# Run tests
107112
- name: Build Plugin
108113
run: ./gradlew :plugin:buildPlugin

0 commit comments

Comments
 (0)