File tree Expand file tree Collapse file tree 1 file changed +3
-11
lines changed Expand file tree Collapse file tree 1 file changed +3
-11
lines changed Original file line number Diff line number Diff line change 13
13
14
14
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
15
15
jobs :
16
- setup_cms :
16
+ backend_testing :
17
17
runs-on : ubuntu-latest
18
18
steps :
19
19
- uses : actions/setup-go@v3
@@ -22,24 +22,16 @@ jobs:
22
22
- uses : actions/checkout@v3
23
23
- name : Building docker containers using docker-compose
24
24
run : GO_MOD=go.mod docker-compose up -d --build
25
-
26
- backend_testing :
27
- runs-on : ubuntu-latest
28
- needs : [ setup_cms ]
29
- steps :
30
- - uses : actions/setup-go@v3
31
- with :
32
- go-version : 1.18
33
- - uses : actions/checkout@v3
34
25
- name : Golang Tests
35
26
run : cd backend && go test -v ./...
36
27
37
28
frontend_testing :
38
29
runs-on : ubuntu-latest
39
- needs : [ setup_cms ]
40
30
steps :
41
31
- uses : actions/checkout@v3
42
32
- name : type check
43
33
run : cd frontend && npm install && npm run types
34
+ - name : Building docker containers using docker-compose
35
+ run : GO_MOD=go.mod docker-compose up -d --build
44
36
- name : react tests
45
37
run : cd frontend && npm test
You can’t perform that action at this time.
0 commit comments