1 parent 3a2371e commit 443d8ddCopy full SHA for 443d8dd
1 file changed
.github/workflows/ci.yml
@@ -0,0 +1,42 @@
1
+name: CI
2
+
3
+on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
8
9
+jobs:
10
+ backend:
11
+ runs-on: ubuntu-latest
12
+ defaults:
13
+ run:
14
+ working-directory: backend
15
16
+ steps:
17
+ - uses: actions/checkout@v4
18
19
+ - uses: actions/setup-python@v5
20
+ with:
21
+ python-version: "3.12"
22
23
+ - run: pip install -r requirements.txt
24
25
+ - run: pytest simulator/tests/ -v
26
27
+ frontend:
28
29
30
31
+ working-directory: frontend
32
33
34
35
36
+ - uses: actions/setup-node@v4
37
38
+ node-version: "20"
39
40
+ - run: npm ci
41
42
+ - run: npm run build
0 commit comments