-
Notifications
You must be signed in to change notification settings - Fork 0
71 lines (60 loc) · 1.9 KB
/
Copy pathci.yml
File metadata and controls
71 lines (60 loc) · 1.9 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
66
67
68
69
70
71
name: SentinelForge CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install ruff
- name: Lint with ruff
run: |
ruff check --select=E,F,W --ignore=E501,E402 \
main.py \
end_to_end_test.py \
output/builds/src/science/ \
output/builds/src/orbit_propagator.py \
output/builds/src/conjunction_screener.py \
output/builds/src/multi_sensor_fusion.py \
output/builds/src/observation_scheduler.py
- name: Run end-to-end pipeline test
env:
PYTHONIOENCODING: utf-8
run: python end_to_end_test.py
- name: Run science module self-tests
env:
PYTHONIOENCODING: utf-8
run: |
cd output/builds/src/science
python light_curve_analyzer.py
python graph_associator.py
python bayesian_iod.py
python koopman_propagator.py
python cislunar_dynamics.py
python data_assimilation_engine.py
- name: Verify main.py entry point
env:
PYTHONIOENCODING: utf-8
run: python main.py
cmake-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Verify CMakeLists.txt parses
run: |
cd output/builds/src
cmake -B build -DCMAKE_CUDA_ARCHITECTURES=87 2>&1 || echo "CMake parse check complete (CUDA toolkit not installed — expected)"