Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
toruseo committed Mar 26, 2024
1 parent f74b58f commit 6a62875
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-gui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
sudo apt-get update
sudo apt-get install -y xvfb
python -m pip install --upgrade pip
pip install pyqt5 pytest setuptools
pip install pyqt5 pytest setuptools pytest-qt
- name: Start Xvfb
run: |
Expand All @@ -36,4 +36,4 @@ jobs:
- name: Run GUI test
run: |
python tests/test_result_gui_viewer.py --durations=0 -v
xvfb-run pytest tests/test_result_gui_viewer.py --durations=0 -v
2 changes: 1 addition & 1 deletion tests/test_result_gui_viewer.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def test_result_gui_viewer():
# Print summary of simulation result
W.analyzer.print_simple_stats()

ResultGUIViewer.launch_World_viewer(W, return_app_window=False)
app, window = ResultGUIViewer.launch_World_viewer(W, return_app_window=True)

# Shut down 5 sec later
from PyQt5.QtCore import QTimer
Expand Down

0 comments on commit 6a62875

Please sign in to comment.