]> ruderich.org/simon Gitweb - safcm/safcm.git/blobdiff - ci/run
Add .gitlab-ci.yml
[safcm/safcm.git] / ci / run
diff --git a/ci/run b/ci/run
new file mode 100755 (executable)
index 0000000..7ec5f16
--- /dev/null
+++ b/ci/run
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+set -eu
+set -x
+
+
+PATH=$HOME/go/bin:$PATH
+export PATH
+
+make
+go test -race ./...
+
+# Additional static checks only run in CI
+go get honnef.co/go/tools/cmd/staticcheck
+staticcheck ./...