Skip to content

Commit 4a92e6f

Browse files
committed
Merge remote-tracking branch 'origin/main'
2 parents 01fbc79 + 07725bb commit 4a92e6f

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

.github/workflows/integration.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Integration Test
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
integration:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: Checkout Code
13+
uses: actions/checkout@v3
14+
15+
- name: Set up Python
16+
uses: actions/setup-python@v4
17+
with:
18+
python-version: 3.9
19+
20+
- name: Install System Dependencies (Node.js, Maven)
21+
run: |
22+
sudo apt-get update
23+
sudo apt-get install -y maven nodejs
24+
node -v
25+
mvn -v
26+
27+
- name: Install Python Packages
28+
run: pip install numpy pytest requests
29+
30+
- name: Install Backend Dependencies
31+
run: npm install
32+
working-directory: ./backend
33+
34+
- name: Install Frontend Dependencies
35+
run: npm install
36+
working-directory: ./frontend
37+
38+
- name: Build Java Simulator via Python (run.py)
39+
run: python3 run.py --job 3
40+
41+
- name: Run Integration Tests
42+
run: pytest integration-tests/test_full_workflow.py -s

0 commit comments

Comments
 (0)