Skip to content

Commit 5f71f55

Browse files
committed
fix: attribute E2E coverage to tested commit
1 parent b4ef7fc commit 5f71f55

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/ci-tests-e2e-coverage.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ jobs:
2828
- name: Checkout sources for genhtml
2929
uses: actions/checkout@v7
3030
with:
31+
ref: ${{ github.event.workflow_run.head_sha }}
3132
sparse-checkout: |
3233
src
3334
packages
@@ -122,6 +123,9 @@ jobs:
122123
with:
123124
files: coverage/playwright/coverage.lcov
124125
flags: e2e
126+
override_branch: ${{ github.event.workflow_run.head_branch }}
127+
override_commit: ${{ github.event.workflow_run.head_sha }}
128+
override_pr: ${{ github.event.workflow_run.pull_requests[0].number }}
125129
token: ${{ secrets.CODECOV_TOKEN }}
126130
fail_ci_if_error: false
127131

0 commit comments

Comments
 (0)