aboutsummaryrefslogtreecommitdiff
path: root/scripts/laminar/gn3-unittest.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/laminar/gn3-unittest.sh')
-rw-r--r--scripts/laminar/gn3-unittest.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/scripts/laminar/gn3-unittest.sh b/scripts/laminar/gn3-unittest.sh
new file mode 100644
index 0000000..41dafe5
--- /dev/null
+++ b/scripts/laminar/gn3-unittest.sh
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+set -e # Abort on first error
+CUR_DIR=$PWD
+GN3_CI_DIR=$HOME/CI/genenetwork3/
+
+cd $GN3_CI_DIR
+git pull
+
+# Run Pylint
+env GUIX_PACKAGE_PATH="$HOME/guix-bioinformatics:$HOME/guix-past/modules" \
+ guix environment --load=guix.scm -- python -m unittest discover
+
+echo Done Running Unittests!
+cd $CUR_DIR