Nightly UAT (tmux integration) #142
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 | |
| jobs: | |
| uat: | |
| runs-on: macos-latest | |
| timeout-minutes: 30 | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0 | |
| with: | |
| python-version: "3.12" | |
| - name: Install tmux | |
| run: brew install tmux | |
| - name: Install dependencies | |
| run: uv sync --all-packages --extra dev --extra test --extra tui | |
| - name: Verify tmux | |
| run: tmux -V | |
| - name: Run integration tests | |
| run: uv run pytest -m "integration and not live_provider" --tb=short -v | |
| - name: Run UAT terminal tests | |
| if: always() | |
| run: uv run pytest packages/studyctl/tests/test_uat_terminal.py -m integration --tb=short -v | |
| - name: Run study lifecycle tests | |
| if: always() | |
| run: uv run pytest packages/studyctl/tests/test_study_lifecycle.py -m integration --tb=short -v | |
| - name: Run sidebar pilot tests | |
| if: always() | |
| run: uv run pytest packages/studyctl/tests/test_sidebar_pilot.py --tb=short -v |