Skip to content

Commit 981e054

Browse files
committed
ci: override lcov.info
1 parent e97dfd8 commit 981e054

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,9 @@ jobs:
111111
GIT_COMMITTER_NAME: ${{ vars.GIT_COMMITTER_NAME }}
112112
GIT_COMMITTER_EMAIL: ${{ vars.GIT_COMMITTER_EMAIL }}
113113
run: |
114+
npx ggcp target/coverage/lcov.info target/coverage/${{ github.sha }}.lcov.info
115+
npx ggcp target/coverage/*.info https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git/coverage/ --message='chore: add coverage for ${{ github.sha }}'
114116
npx ggcp target/docs https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git/gh-pages --message='chore: update docs'
115-
npx ggcp target/coverage/lcov.info https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git/coverage/${{ github.sha }}.lcov.info --message='chore: add coverage for ${{ github.sha }}'
116117
117118
smoke-node:
118119
if: github.event_name == 'pull_request'

0 commit comments

Comments
 (0)