aboutsummaryrefslogtreecommitdiff
path: root/scripts/laminar/gn3-lint.run
blob: 2456740fca5642250cd859de8d87cac12f241030 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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