diff options
author | Lars Wirzenius <liw@liw.fi> | 2017-08-30 15:02:48 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2017-08-30 15:02:48 +0300 |
commit | ffcabb919e972a576564361a474dbfeca23d7ef9 (patch) | |
tree | df99a25a5c99235ee16ceff66eaad4e1add30488 /check | |
parent | ef1a1bf76c47378a6432f8b6fe85bce4c1d9c605 (diff) | |
download | qvisqve-ffcabb919e972a576564361a474dbfeca23d7ef9.tar.gz |
Add: run ./check with/without postgres dep on env var
Diffstat (limited to 'check')
-rwxr-xr-x | check | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -28,11 +28,11 @@ python3 -m CoverageTestRunner --ignore-missing-from=without-tests pep8 qvarn pylint3 -j0 --rcfile pylint.conf qvarn -# Run yarns without Postgres. For speed. -#QVARN_POSTGRES= run_yarns "$@" - -if [ "${QVARN_POSTGRES:-no}" != no ] +if [ "${QVARN_POSTGRES:-no}" = no ] then + # Run yarns without Postgres. For speed. + run_yarns "$@" +else scripts/pgempty run_yarns --env "QVARN_POSTGRES=$QVARN_POSTGRES" "$@" fi |