aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMicah Lee <micah@micahflee.com>2022-03-06 14:17:13 -0800
committerMicah Lee <micah@micahflee.com>2022-03-06 14:17:13 -0800
commit06eb12cf8f1494cd0c81f060496d33b3b843dd77 (patch)
treee4b3f37a03e71635802ac38e0034dd3755feadca
parent5c2802d8b0db8230201e0943f1f88274277b78d7 (diff)
downloadonionshare-06eb12cf8f1494cd0c81f060496d33b3b843dd77.tar.gz
onionshare-06eb12cf8f1494cd0c81f060496d33b3b843dd77.zip
Try running tests a different way
-rw-r--r--.circleci/config.yml2
-rwxr-xr-xdesktop/tests/run.sh8
2 files changed, 5 insertions, 5 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 47d6340f..f37d7e2a 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -57,4 +57,4 @@ jobs:
name: Run tests
command: |
cd ~/repo/desktop
- xvfb-run poetry run ./tests/run.sh
+ xvfb-run poetry run pytest -v ./tests/test_gui_*.py
diff --git a/desktop/tests/run.sh b/desktop/tests/run.sh
index 839a6919..0f019b05 100755
--- a/desktop/tests/run.sh
+++ b/desktop/tests/run.sh
@@ -1,6 +1,6 @@
#!/bin/bash
-pytest -v tests/test_gui_tabs.py && sleep 5 && \
-pytest -v tests/test_gui_share.py && sleep 5 && \
-pytest -v tests/test_gui_receive.py && sleep 5 && \
-pytest -v tests/test_gui_website.py && sleep 5 && \
+pytest -v tests/test_gui_tabs.py && \
+pytest -v tests/test_gui_share.py && \
+pytest -v tests/test_gui_receive.py && \
+pytest -v tests/test_gui_website.py && \
pytest -v tests/test_gui_chat.py