Skip to content

Commit 35649cc

Browse files
committed
WIP
1 parent 30beb6b commit 35649cc

File tree

1 file changed

+8
-21
lines changed

1 file changed

+8
-21
lines changed
Lines changed: 8 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1+
name: backend-api-unit-test
12

2-
name: Backend-API-Unit-Test
33
on:
44
push:
55
paths:
@@ -14,30 +14,17 @@ on:
1414
- 'backend/pkg/api/data_access/**'
1515
branches:
1616
- '*'
17-
18-
concurrency:
19-
group: ${{ github.workflow }}-${{ github.ref }}
20-
cancel-in-progress: true
21-
22-
permissions:
23-
contents: read
24-
pull-requests: read
25-
checks: write
26-
2717
jobs:
28-
build:
29-
name: api-unit-test
18+
run-tests:
3019
runs-on: ubuntu-latest
3120
steps:
3221
- uses: actions/checkout@v3
3322
- uses: actions/setup-go@v4
3423
with:
35-
go-version-file: 'backend/go.mod'
36-
cache-dependency-path: 'backend/go.sum'
37-
- name: Test with the Go CLI
38-
working-directory: backend
39-
run:
40-
go test ./pkg/api/handlers/... ./pkg/api/data_access/...
41-
42-
24+
go-version-file: 'backend/'
25+
cache-dependency-path: backend/go.sum
4326

27+
- name: unit tests
28+
working-directory: ./backend
29+
run:
30+
go test ./pkg/api/handlers/... ./pkg/api/data_access/...

0 commit comments

Comments
 (0)