]> ruderich.org/simon Gitweb - safcm/safcm.git/blobdiff - .builds/openbsd.yml
ci: build.sr.ht: run all tests also as root
[safcm/safcm.git] / .builds / openbsd.yml
index 6ba273e799e9bec8399c4d861490d3e883d51a32..7f1d40c9208e6ea97a15b0135c261d1c09a65e64 100644 (file)
@@ -15,3 +15,7 @@ tasks:
       cd safcm
       # Go does not yet support -race on OpenBSD
       ./ci/run GOFLAGS=
+      # Also run all tests as root (-R and -h conflict on OpenBSD)
+      doas chown -R root:wheel .
+      # Remove $HOME hack once Go 1.16 is available
+      doas /bin/sh -c "HOME=$HOME ./ci/run GOFLAGS="