Skip to content

Commit 0f53744

Browse files
committed
There is no need for sudo and caching works better without it
1 parent ba013c6 commit 0f53744

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

project/run_tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22
source ../asylum-venv/bin/activate
3-
sudo pip install -r requirements/test.txt
3+
pip install -r requirements/test.txt
44
sudo -u postgres service postgresql start
55
export PGPASSWORD=asylum; while true; do psql -q asylum -c 'SELECT 1;' 1>/dev/null 2>&1 ; if [ "$?" -ne "0" ]; then echo "Waiting for psql"; sleep 1; else break; fi; done
66
sudo -u postgres psql -U postgres -d postgres -c "alter user asylum createdb;"

0 commit comments

Comments
 (0)