File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : TicTacToe CI
2
+
3
+ on :
4
+ push :
5
+ branches : [ "main" ]
6
+ pull_request :
7
+ branches : [ "main" ]
8
+
9
+ jobs :
10
+ backend :
11
+ runs-on : ubuntu-latest
12
+ steps :
13
+ - uses : actions/checkout@v3
14
+ - name : Set up Python
15
+ uses : actions/setup-python@v4
16
+ with :
17
+ python-version : " 3.11"
18
+ - name : Install dependencies
19
+ run : |
20
+ pip install -r requirements.txt
21
+ - name : Run backend tests
22
+ run : |
23
+ cd backend
24
+ echo "No tests yet. Add pytest here later."
25
+
26
+ frontend :
27
+ runs-on : ubuntu-latest
28
+ steps :
29
+ - uses : actions/checkout@v3
30
+ - name : Set up Node.js
31
+ uses : actions/setup-node@v3
32
+ with :
33
+ node-version : " 18"
34
+ - name : Install and Build
35
+ run : |
36
+ cd frontend
37
+ npm install
38
+ npm run build
39
+ - name : Run frontend tests
40
+ run : |
41
+ echo "No tests yet. Add npm test here later."
You can’t perform that action at this time.
0 commit comments