aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2024-03-15 21:08:35 +0600
committerGitHub <noreply@github.com>2024-03-15 21:08:35 +0600
commitc676e0df6337d2c70faa4cfe6a3d3a06a5df01af (patch)
treed342cdcbe01d50cb097cec34ecbe7e94870face3
parentfe385d059423bb590a284e421a956a0039d5d8ff (diff)
parent1926464dba32e39a6f82ffa625485711c0783cd5 (diff)
downloadrspamd-c676e0df6337d2c70faa4cfe6a3d3a06a5df01af.tar.gz
rspamd-c676e0df6337d2c70faa4cfe6a3d3a06a5df01af.zip
Merge pull request #4876 from fatalbanana/testlog
[Test] Really fix saving test logs...
-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())