File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -36,12 +36,28 @@ jobs:
3636 pyinstaller -F viewer.py
3737 mv dist/viewer dist/viewer_linux_python_${{ matrix.python-version }}
3838
39+ - name : Test Executable for Linux
40+ if : matrix.os == 'ubuntu-latest'
41+ run : |
42+ ./dist/viewer_linux_python_${{ matrix.python-version }} &
43+ VIEWER_PID=$!
44+ sleep 10
45+ kill $VIEWER_PID
46+
3947 - name : Build Executable for Windows
4048 if : matrix.os == 'windows-latest'
4149 run : |
4250 pyinstaller -F viewer.py
4351 mv dist/viewer.exe dist/viewer_win64_python${{ matrix.python-version }}.exe
4452
53+ - name : Test Executable for Windows
54+ if : matrix.os == 'windows-latest'
55+ run : |
56+ ./dist/viewer_win64_python${{ matrix.python-version }}.exe &
57+ VIEWER_PID=$!
58+ sleep 10
59+ kill $VIEWER_PID
60+
4561 - name : Upload Artifacts
4662 if : matrix.python-version == '3.11'
4763 uses : actions/upload-artifact@v4
You can’t perform that action at this time.
0 commit comments