Skip to content

Commit 1714dd1

Browse files
authored
test(robot): include Robot e2e tests in coverage (#947)
Include coverage from our Robot e2e test suite.
1 parent eda8064 commit 1714dd1

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

.github/workflows/test_e2e.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,20 @@ jobs:
198198
source dev/files/env.sh
199199
go test ./tests/e2e -tags e2e,robot -v -timeout 60m
200200
201+
- name: Fetch coverage data
202+
run: |
203+
source dev/files/env.sh
204+
bash scripts/get-coverage-from-k8s.sh
205+
206+
- name: Upload coverage reports to Codecov
207+
uses: codecov/codecov-action@v5
208+
if: >
209+
!startsWith(github.head_ref, 'renovate/') &&
210+
!startsWith(github.head_ref, 'releaser-pleaser--')
211+
with:
212+
token: ${{ secrets.CODECOV_TOKEN }}
213+
files: ./coverage/coverage.txt
214+
201215
- name: Dump logs & events
202216
if: always()
203217
continue-on-error: true

0 commit comments

Comments
 (0)