aboutsummaryrefslogtreecommitdiff
path: root/scripts/laminar/gn3-lint.run
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2022-01-21 07:23:24 +0300
committerFrederick Muriuki Muriithi2022-01-24 10:25:27 +0300
commit2c3e163cc69fd391ecda4e3b7a27078626a3f1b4 (patch)
tree100562b5775296db87eb86da87736f59ae75e94f /scripts/laminar/gn3-lint.run
parent56eb0eb6ba121c1e65ca078e29a053d64fa12a0a (diff)
downloadgenenetwork3-2c3e163cc69fd391ecda4e3b7a27078626a3f1b4.tar.gz
Rename job scripts to fit laminar's paradigm
Diffstat (limited to 'scripts/laminar/gn3-lint.run')
-rwxr-xr-xscripts/laminar/gn3-lint.run16
1 files changed, 16 insertions, 0 deletions
diff --git a/scripts/laminar/gn3-lint.run b/scripts/laminar/gn3-lint.run
new file mode 100755
index 0000000..2456740
--- /dev/null
+++ b/scripts/laminar/gn3-lint.run
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+set -ex # 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 -- pylint sheepdog/worker.py gn3/ tests
+
+echo Done Running Pylint!
+cd $CUR_DIR