Skip to content

Commit a4240ca

Browse files
committed
ci: Collect logs at the last step and collect dist logs too
Needed if the tests start failing during dist
1 parent c60a6e3 commit a4240ca

1 file changed

Lines changed: 11 additions & 10 deletions

File tree

.github/workflows/check.yml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -85,16 +85,6 @@ jobs:
8585
export LSAN_OPTIONS="suppressions=$GITHUB_WORKSPACE/tests/lsan.supp"
8686
timeout --signal=KILL -v ${TESTS_TIMEOUT}m meson test -C ${BUILDDIR} --verbose --timeout-multiplier ${MESON_TEST_TIMEOUT_MULTIPLIER}
8787
88-
- name: Upload test logs
89-
# 7.0.0
90-
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f
91-
if: failure() || cancelled()
92-
with:
93-
name: test logs
94-
path: |
95-
builddir/meson-logs/testlog.txt
96-
installed-test-logs/
97-
9888
- name: Create dist tarball
9989
run: |
10090
meson setup --wrap-mode nodownload --reconfigure ${CONFIG_OPTS} ${BUILDDIR}_dist .
@@ -105,3 +95,14 @@ jobs:
10595

10696
- name: Build flatpak-builder with Meson wraps
10797
run: meson compile -C ${BUILDDIR}_wrap
98+
99+
- name: Upload test logs
100+
# 7.0.0
101+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f
102+
if: failure() || cancelled()
103+
with:
104+
name: test logs
105+
path: |
106+
builddir/meson-logs/testlog.txt
107+
installed-test-logs/
108+
builddir_dist/meson-private/dist-build/meson-logs/testlog.txt

0 commit comments

Comments
 (0)