aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2024-03-15 16:21:24 +0200
committerAndrew Lewis <nerf@judo.za.org>2024-03-15 16:35:43 +0200
commit1926464dba32e39a6f82ffa625485711c0783cd5 (patch)
treee8d20cd06c683114e524fc7296ed38c1b3512e5c /.github/workflows
parent23f4c94e5db3071043ef0184754ab5cbcc8418ad (diff)
downloadrspamd-1926464dba32e39a6f82ffa625485711c0783cd5.tar.gz
rspamd-1926464dba32e39a6f82ffa625485711c0783cd5.zip
[Test] Really fix saving test logs...
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci_rspamd.yml4
1 files changed, 3 insertions, 1 deletions
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())