From ed4480835a0000f8efd13bf46b013a80bfb12029 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Fri, 3 Oct 2025 10:51:18 +0300 Subject: [PATCH] ci(.radicle/ambient.yaml): fix so CI can succeed under new Ambient --- .radicle/ambient.yaml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.radicle/ambient.yaml b/.radicle/ambient.yaml index f66a9b2..3f0639a 100644 --- a/.radicle/ambient.yaml +++ b/.radicle/ambient.yaml @@ -3,7 +3,18 @@ pre_plan: plan: - action: cargo_fmt - action: cargo_clippy - - action: cargo_test + + # Can't use the cargo_test action, until HOME is set + # in the environment. + - action: shell + shell: | + export HOME=/root + # "Install" the rad program. It needs to be in $PATH. + cp /root/.radicle/bin/rad /bin/. + git config --global user.name root + git config --global user.email root@example.com + cargo test + - action: cargo_doc - action: custom name: dch