Skip to content

Commit

Permalink
run a smoke test for the application in order to find import bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
mwinkens committed Jun 5, 2024
1 parent 4eb8113 commit 30c5567
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,28 @@ jobs:
pyinstaller -F viewer.py
mv dist/viewer dist/viewer_linux_python_${{ matrix.python-version }}
- name: Test Executable for Linux
if: matrix.os == 'ubuntu-latest'
run: |
./dist/viewer_linux_python_${{ matrix.python-version }} &
VIEWER_PID=$!
sleep 10
kill $VIEWER_PID
- name: Build Executable for Windows
if: matrix.os == 'windows-latest'
run: |
pyinstaller -F viewer.py
mv dist/viewer.exe dist/viewer_win64_python${{ matrix.python-version }}.exe
- name: Test Executable for Windows
if: matrix.os == 'windows-latest'
run: |
./dist/viewer_win64_python${{ matrix.python-version }}.exe &
VIEWER_PID=$!
sleep 10
kill $VIEWER_PID
- name: Upload Artifacts
if: matrix.python-version == '3.11'
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 30c5567

Please sign in to comment.