-
Notifications
You must be signed in to change notification settings - Fork 1
65 lines (55 loc) · 1.41 KB
/
ci-smoke.yml
File metadata and controls
65 lines (55 loc) · 1.41 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
name: CI – Smoke
on:
pull_request:
paths:
- "tests/test_*smoke*.py"
- "tests/test_*canary*.py"
- "pytest.ini"
- "stillme_core/**"
- "agent_dev/**"
- "framework.py"
push:
branches: [ main ]
paths:
- "tests/test_*smoke*.py"
- "tests/test_*canary*.py"
- "pytest.ini"
- "stillme_core/**"
- "agent_dev/**"
- "framework.py"
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
smoke:
runs-on: ubuntu-latest
timeout-minutes: 15
if: "!contains(github.event.head_commit.message, '[skip ci]')"
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.11"
- name: Install dependencies
run: |
pip install -e . || true
pip install pytest
- name: Run smoke tests
run: |
pytest -q -k "smoke or canary"
env:
STILLME_DRY_RUN: "1"
- name: Run learning smoke only
run: |
pytest -q tests/test_learning_smoke.py
env:
STILLME_DRY_RUN: "1"
- name: Run framework smoke only
run: |
pytest -q tests/test_framework_smoke.py
env:
STILLME_DRY_RUN: "1"