aboutsummaryrefslogtreecommitdiff
path: root/scripts/laminar/gn3-mypy.sh
diff options
context:
space:
mode:
authorBonfaceKilz2021-06-21 12:41:20 +0300
committerBonfaceKilz2021-06-22 10:59:39 +0300
commit62c08981d76fa1e9d12407beb0202bdf054e7c7a (patch)
tree889cf4fed5c8be3deae81014defecec8379827a5 /scripts/laminar/gn3-mypy.sh
parentf949189dc727976a1574a57d3b0e895ff6598d07 (diff)
downloadgenenetwork3-62c08981d76fa1e9d12407beb0202bdf054e7c7a.tar.gz
scripts: laminar: Add sh scripts for CI
Diffstat (limited to 'scripts/laminar/gn3-mypy.sh')
-rw-r--r--scripts/laminar/gn3-mypy.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/scripts/laminar/gn3-mypy.sh b/scripts/laminar/gn3-mypy.sh
new file mode 100644
index 0000000..a2a9782
--- /dev/null
+++ b/scripts/laminar/gn3-mypy.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 -- mypy .
+
+echo Done Running MyPy!
+cd $CUR_DIR