~cypheon/dronecov

dronecov/runtests.sh -rwxr-xr-x 286 bytes
562cf37f — Johann Rudloff Update npm dependencies. 1 year, 10 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

set -e
set -u

ACCESS_TOKEN=$(DRONECOV_DB_URI=sqlite:///./tests/tmp.db pipenv run ./dronecov.py token-batch testuser token-name)
export ACCESS_TOKEN

PYTHONPATH="$PWD:${PYTHONPATH:-}" \
  pipenv run pytest \
  --tavern-global-cfg tests/common.yaml \
  tests/*.tavern.yaml -v