summaryrefslogtreecommitdiff
path: root/check
blob: cd7eed796e0876b622bac09f3f91c2613e748459 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh

set -eu

server="$1"
sshkey="$2"
shift 1

python -m CoverageTestRunner --ignore-missing-from=without-tests .
yarn \
    --env "GITANO_SERVER=$server" \
    --env "ADMIN_SSH_KEY=$sshkey" \
    --shell=python2 \
    --shell-arg '' \
    --shell-library lib.py \
    --env "PYTHONPATH=$(pwd)" \
    --env "SSH_AUTH_SOCK=$SSH_AUTH_SOCK" \
    --cd-datadir \
    *.yarn "$@"