Skip to content

Commit

Permalink
deploy.sh: run all tests in Bridgy's virtualenv
Browse files Browse the repository at this point in the history
  • Loading branch information
snarfed committed Dec 30, 2023
1 parent b259053 commit 66cfb82
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions scripts/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,15 @@ pkill datastore || true
gcloud beta emulators datastore start --no-store-on-disk ----use-firestore-in-datastore-mode --host-port=localhost:8089 < /dev/null >& /dev/null &
sleep 2s

cd $src/oauth-dropins && source local/bin/activate
cd $src/bridgy && source local/bin/activate

cd ../oauth-dropins
python -m unittest discover --pattern="test_*.py"

cd ../granary && source local/bin/activate
cd ../granary
python -m unittest discover

cd ../bridgy && source local/bin/activate
cd ../bridgy
python -m unittest discover -s tests -t .

kill %1 # datastore emulator
Expand Down

0 comments on commit 66cfb82

Please sign in to comment.