This repository was archived by the owner on Jun 14, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
58 lines (49 loc) · 1.62 KB
/
Copy pathci.yml
File metadata and controls
58 lines (49 loc) · 1.62 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
name: CI
# Streamlined CI for direct-to-main workflow
# - Single Python version (3.12)
# - Essential checks only
# - Fast feedback (~5-10 minutes)
on:
push:
branches: [ main ]
jobs:
tests-py312:
name: Tests (Python 3.12)
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.12
uses: actions/setup-python@v4
with:
python-version: '3.12'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e packages/core
pip install -e packages/context-code
pip install -e packages/soar
pip install -e packages/reasoning
pip install -e packages/planning
pip install -e packages/spawner
pip install -e packages/implement
pip install -e packages/cli
pip install -e packages/testing
pip install -e ".[dev,ml]"
- name: Configure git for E2E tests
run: |
git config --global user.name "GitHub Actions"
git config --global user.email "actions@github.com"
- name: Run tests with coverage (excluding ML and real API tests)
run: |
pip install pytest-timeout
pytest -m "not ml and not real_api" --timeout=60 --cov=packages --cov-report=xml --cov-report=term -v
continue-on-error: false
- name: Upload coverage to Codecov
if: always()
uses: codecov/codecov-action@v3
with:
file: ./coverage.xml
flags: python-3.12
name: codecov-umbrella
fail_ci_if_error: false