Add ping-pong loop mode #47
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Source checks | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| jobs: | |
| python-syntax: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.10" | |
| - name: Compile Python sources | |
| run: python -m compileall -q constants logger ocio playback scripts utils widgets main.py | |
| release-files: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Verify packaging inputs | |
| run: | | |
| test -f framedeck.spec | |
| test -f framedeck-linux.spec | |
| test -f build-windows.ps1 | |
| test -f build-ubuntu-appimage.sh | |
| test -f scripts/fetch_aces12.py | |
| test -f resources/ocio/ACES_1.2_SOURCE.txt | |
| pytest: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.10" | |
| - name: Install Qt offscreen system libraries | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y --no-install-recommends \ | |
| libegl1 libgl1 libxkbcommon0 libdbus-1-3 libglib2.0-0 libpulse0 | |
| - name: Install Python dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -r requirements-linux.txt -r requirements-dev.txt | |
| - name: Run test suite (headless) | |
| env: | |
| QT_QPA_PLATFORM: offscreen | |
| run: pytest -q |