Nightly UAT (tmux integration) #162
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 UAT (tmux integration) | |
| on: | |
| schedule: | |
| - cron: "0 3 * * *" # 03:00 UTC daily | |
| workflow_dispatch: {} # manual trigger | |
| permissions: | |
| contents: read | |
| jobs: | |
| uat: | |
| runs-on: macos-latest | |
| timeout-minutes: 30 | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1 | |
| with: | |
| python-version: "3.12" | |
| - name: Install tmux | |
| run: brew install tmux | |
| - name: Install dependencies | |
| run: uv sync --locked --all-packages --group dev | |
| - name: Verify tmux | |
| run: tmux -V | |
| - name: Run integration tests | |
| run: uv run --group dev pytest -m "integration and not live_provider and not live_kiro" --tb=short -v | |
| - name: Run UAT terminal tests | |
| if: always() | |
| run: uv run --group dev pytest packages/studyloop/tests/test_uat_terminal.py -m integration --tb=short -v | |
| - name: Run study lifecycle tests | |
| if: always() | |
| run: uv run --group dev pytest packages/studyloop/tests/test_study_lifecycle.py -m integration --tb=short -v | |
| - name: Run sidebar pilot tests | |
| if: always() | |
| run: uv run --group dev pytest packages/studyloop/tests/test_sidebar_pilot.py --tb=short -v |