Skip to content

Update test-gui.yml #14

Update test-gui.yml

Update test-gui.yml #14

Workflow file for this run

name: Test GUI
on:
push:
pull_request:
workflow_dispatch:
schedule:
- cron: '0 6 * * 1'
jobs:
test-gui::

Check failure on line 11 in .github/workflows/test-gui.yml

View workflow run for this annotation

GitHub Actions / Test GUI

Invalid workflow file

The workflow is not valid. .github/workflows/test-gui.yml (Line: 11, Col: 3): The identifier 'test-gui:' is invalid. IDs may only contain alphanumeric characters, '_', and '-'. IDs must start with a letter or '_' and and must be less than 100 characters.
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 test_result_gui_viewer.py --durations=0 -v