aboutsummaryrefslogtreecommitdiff
path: root/scripts/laminar/gn3-unittest.run
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/laminar/gn3-unittest.run')
-rwxr-xr-xscripts/laminar/gn3-unittest.run11
1 files changed, 4 insertions, 7 deletions
diff --git a/scripts/laminar/gn3-unittest.run b/scripts/laminar/gn3-unittest.run
index e6a65e5..4e0dc64 100755
--- a/scripts/laminar/gn3-unittest.run
+++ b/scripts/laminar/gn3-unittest.run
@@ -1,15 +1,12 @@
#!/bin/sh
set -ex # Abort on first error
-CUR_DIR=$PWD
-GN3_CI_DIR=$HOME/CI/genenetwork3/
-cd $GN3_CI_DIR
-git pull
+CUR_DIR=$PWD
+cd "$GN3_CI_DIR"
# Run Pylint
-env GUIX_PACKAGE_PATH="$HOME/guix-bioinformatics:$HOME/guix-past/modules" \
- guix environment --load=guix.scm -- python -m unittest discover
+"${HOME}/.config/guix/current/bin/guix" shell --file=guix.scm -- python -m unittest discover tests.unit
echo Done Running Unittests!
-cd $CUR_DIR
+cd "$CUR_DIR"