commit 1926464: [Test] Really fix saving test logs...

Andrew Lewis nerf at judo.za.org
Mon Jul 29 17:54:29 UTC 2024


Author: Andrew Lewis
Date: 2024-03-15 16:21:24 +0200
URL: https://github.com/rspamd/rspamd/commit/1926464dba32e39a6f82ffa625485711c0783cd5 (refs/pull/4876/head)

[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())


More information about the Commits mailing list