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 a9bf148 commit f74b58f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/test-gui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,9 @@ jobs:
- name: Start Xvfb
run: |
Xvfb :99 & # 仮想ディスプレイサーバーを起動
export DISPLAY=:99 # DISPLAY環境変数の設定
Xvfb :99 & # Launch virtual display server
export DISPLAY=:99
- name: Run GUI test
run: |
# GUIアプリケーションの起動テストを行うPythonスクリプトを実行
python 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()

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

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

0 comments on commit f74b58f

Please sign in to comment.