From 1926464dba32e39a6f82ffa625485711c0783cd5 Mon Sep 17 00:00:00 2001 From: Andrew Lewis Date: Fri, 15 Mar 2024 16:21:24 +0200 Subject: [PATCH] [Test] Really fix saving test logs... --- .github/workflows/ci_rspamd.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci_rspamd.yml b/.github/workflows/ci_rspamd.yml index 04a6eff34..ebd4f2cf3 100644 --- a/.github/workflows/ci_rspamd.yml +++ b/.github/workflows/ci_rspamd.yml @@ -12,7 +12,6 @@ on: env: CTEST_OUTPUT_ON_FAILURE: 1 - CONTAINER_WORKSPACE: ${GITHUB_WORKSPACE} RSPAMD_LUA_EXPENSIVE_TESTS: 1 jobs: @@ -73,6 +72,9 @@ jobs: for core in $core_files; do exe=$(gdb --batch -ex 'info proc mappings' -c $core | tail -1 | awk '{print $5}'); gdb --batch -ex 'bt' -c $core $exe; echo '---'; done exit $EXIT_CODE + - name: Save workspace directory + run: echo "CONTAINER_WORKSPACE=${GITHUB_WORKSPACE}" >> "$GITHUB_ENV" + # FIXME: upload test logs even on ARM - name: Upload robot logs if: runner.arch == 'X64' && (success() || failure()) -- 2.39.5