Radish alpha
r
rad:z3qg5TKmN83afz2fj9z3fQjU8vaYE
Radicle CI adapter for native CI
Radicle
Git
ci(.radicle/ambient.yaml): fix so CI can succeed under new Ambient
Lars Wirzenius committed 6 months ago
commit ed4480835a0000f8efd13bf46b013a80bfb12029
parent 1071c64
1 file changed +12 -1
modified .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