Skip to content

Commit 082e8e9

Browse files
committed
CI: Generate test summary Markdown and upload test logs
Signed-off-by: Matej Hrica <[email protected]>
1 parent cadb655 commit 082e8e9

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/integration_tests.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,14 @@ jobs:
5252
run: curl -L -o /tmp/libkrunfw-5.0.0-x86_64.tgz https://github.com/containers/libkrunfw/releases/download/v5.0.0/libkrunfw-5.0.0-x86_64.tgz && mkdir tmp && tar xf /tmp/libkrunfw-5.0.0-x86_64.tgz -C tmp && sudo mv tmp/lib64/* /lib/x86_64-linux-gnu
5353

5454
- name: Integration tests
55-
run: RUST_LOG=trace KRUN_ENOMEM_WORKAROUND=1 KRUN_NO_UNSHARE=1 make test
55+
run: KRUN_ENOMEM_WORKAROUND=1 KRUN_NO_UNSHARE=1 KRUN_TEST_BASE_DIR=/tmp/libkrun-tests make test TEST_FLAGS="--keep-all --github-summary"
56+
57+
- name: Upload test logs
58+
if: always()
59+
uses: actions/upload-artifact@v4
60+
with:
61+
name: test-logs
62+
path: |
63+
/tmp/libkrun-tests/
64+
!/tmp/libkrun-tests/**/guest-agent
65+
if-no-files-found: ignore

0 commit comments

Comments
 (0)