Skip to content

Commit 9c59a3c

Browse files
committed
fix: add triggers to workflow
1 parent 9c947c7 commit 9c59a3c

1 file changed

Lines changed: 41 additions & 0 deletions

File tree

.github/workflows/integration.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Integration Test CI
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
integration:
11+
name: Simulation Engine & Logic Sync
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: Checkout Repository
16+
uses: actions/checkout@v4
17+
18+
- name: Setup Python Environment
19+
uses: actions/setup-python@v4
20+
with:
21+
python-version: '3.9'
22+
cache: 'pip'
23+
24+
- name: Install gprMax Core
25+
run: |
26+
pip install --upgrade pip
27+
pip install gprMax numpy
28+
29+
- name: Execute End-to-End Simulation
30+
run: |
31+
# Is line ko verify karna ki sample_model.in root folder mein hai
32+
python -m gprMax sample_model.in -n 1
33+
34+
- name: Verify Physics Integrity
35+
run: |
36+
# Kyunki files root mein hain, hum seedha script call karenge
37+
python .github/workflows/test_integration.py
38+
39+
- name: Deployment Status
40+
if: success()
41+
run: echo "Integration successful. Simulation and Validation layers are in sync."

0 commit comments

Comments
 (0)