Nightly Build #80
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: Nightly Build | |
| on: | |
| schedule: | |
| - cron: "0 3 * * *" # 3 AM UTC daily | |
| workflow_dispatch: | |
| inputs: | |
| force_fail: | |
| description: "Force failure (for testing notifications)" | |
| required: false | |
| default: "false" | |
| jobs: | |
| smoke-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Force failure (notification test) | |
| if: ${{ github.event.inputs.force_fail == 'true' }} | |
| run: exit 1 | |
| - name: Install system dependencies | |
| run: | | |
| sudo apt-get update -y | |
| sudo apt-get install -y xvfb libgl1 libgles2 | |
| - uses: astral-sh/setup-uv@v4 | |
| with: | |
| enable-cache: true | |
| - run: uv sync --extra desktop | |
| - name: Run headless smoke test | |
| run: xvfb-run -a uv run python tests/test_smoke.py | |
| env: | |
| RELOADER_STATUS: PROD | |
| KIVY_SMOKE_TEST: "1" | |
| KIVY_NO_ENV_CONFIG: "1" | |
| KIVY_LOG_MODE: PYTHON |