Skip to content

Commit ae8e517

Browse files
authored
Make GitHub Actions upload the test log as an artifact (#357)
Signed-off-by: Sebastian Pipping <[email protected]>
1 parent 716f14f commit ae8e517

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/run_test_suite.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,3 +94,10 @@ jobs:
9494
| grep -F ' failed, ' | tee /dev/stderr \
9595
| grep -F -q ', 1 failed, ' \
9696
|| { echo 'Number of tests expected to fail^^ does not match -- did you break an existing test?' >&2 ; false ; }
97+
98+
- name: Upload test log as an artifact
99+
uses: actions/upload-artifact@v4
100+
with:
101+
name: "lcov-${{ github.sha }}-${{ runner.os }}-test-log" # .zip
102+
path: tests/test.log
103+
if-no-files-found: error

0 commit comments

Comments
 (0)