-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (33 loc) · 1.29 KB
/
Copy pathnightly-uat.yml
File metadata and controls
44 lines (33 loc) · 1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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