File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : CI
2+ on :
3+ push :
4+ pull_request :
5+ workflow_dispatch :
6+ merge_group :
7+
8+ jobs :
9+ launch :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - name : Check out repository
13+ uses : actions/checkout@v5
14+
15+ - name : Prepare Python
16+ uses : actions/setup-python@v6
17+ with :
18+ python-version : " 3.11"
19+
20+ - name : Install dependencies
21+ run : |
22+ sudo apt-get update
23+ sudo apt-get install -y xvfb libegl1 libqt6gui6 libxcb-cursor0
24+
25+ - name : Install PEtabGUI
26+ run : |
27+ python -m pip install --upgrade pip
28+ pip install .
29+
30+ - name : Launch GUI
31+ # Ensure that we can launch the GUI
32+ run : |
33+ echo "Launching Xvfb"
34+ Xvfb :99 -screen 0 1920x1200x24 &
35+ export DISPLAY=:99
36+ echo "Running petab_gui --version"
37+ petab_gui --version
38+ echo "Running petab_gui without arguments"
39+ petab_gui &
40+ echo $! > petabgui_pid.txt
41+ sleep 10
42+ kill $(cat petabgui_pid.txt)
43+ echo "Running petab_gui with example problem"
44+ petab_gui example/problem.yaml &
45+ echo $! > petabgui_pid.txt
46+ sleep 10
47+ kill $(cat petabgui_pid.txt)
You can’t perform that action at this time.
0 commit comments