File tree Expand file tree Collapse file tree 2 files changed +31
-3
lines changed
Expand file tree Collapse file tree 2 files changed +31
-3
lines changed Original file line number Diff line number Diff line change @@ -18,10 +18,10 @@ jobs:
1818 runs-on : macos-13
1919 steps :
2020 - uses : actions/checkout@v4
21- - name : Set up Python 3.9
21+ - name : Set up Python 3.10
2222 uses : actions/setup-python@v5
2323 with :
24- python-version : " 3.9 "
24+ python-version : " 3.10 "
2525
2626 - name : Setup OpenGL
2727 run : brew install mesa-glu libxrender libxi libxkbcommon
Original file line number Diff line number Diff line change @@ -101,4 +101,32 @@ jobs:
101101 with :
102102 name : Package
103103 path : ${{github.workspace}}/dist/Raidionics-*
104- if-no-files-found : error
104+ if-no-files-found : error
105+
106+ test :
107+ name : Test on ${{ matrix.macos-version }}
108+ needs : build
109+ runs-on : ${{ matrix.macos-version }}
110+ strategy :
111+ matrix :
112+ macos-version : [macos-14, macos-15]
113+
114+ steps :
115+ - uses : actions/download-artifact@v4
116+ with :
117+ name : Package
118+ path : test-dist
119+
120+ - name : Install .pkg
121+ run : sudo installer -pkg test-dist/Raidionics-1.3.1-macOS-arm64.pkg -target /
122+
123+ - name : Run software (smoke test)
124+ env :
125+ QT_QPA_PLATFORM : " offscreen"
126+ run : |
127+ /Applications/Raidionics.app/Contents/MacOS/Raidionics & sleep 5; kill -INT %+
128+
129+ - name : Validate GUI startup script
130+ run : |
131+ export QT_QPA_PLATFORM="offscreen"
132+ python3 /Applications/Raidionics.app/Contents/MacOS/tests/software_launch_test.py || true
You can’t perform that action at this time.
0 commit comments