Skip to content

Update test-gui.yml #17

Update test-gui.yml

Update test-gui.yml #17

Workflow file for this run

name: Test GUI
on:
push:
pull_request:
workflow_dispatch:
schedule:
- cron: '0 6 * * 1'
jobs:
test-gui:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install uxsim and dependencies
run: pip install .
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y xvfb
python -m pip install --upgrade pip
pip install pyqt5 setuptools
- name: Start Xvfb
run: |
Xvfb :99 & # 仮想ディスプレイサーバーを起動
export DISPLAY=:99 # DISPLAY環境変数の設定
- name: Run GUI test
run: |
# GUIアプリケーションの起動テストを行うPythonスクリプトを実行
python tests/test_result_gui_viewer.py --durations=0 -v