test: 增加 repository 测试
This commit is contained in:
7
.github/workflows/backend-ci.yml
vendored
7
.github/workflows/backend-ci.yml
vendored
@@ -17,9 +17,12 @@ jobs:
|
||||
go-version-file: backend/go.mod
|
||||
check-latest: true
|
||||
cache: true
|
||||
- name: Run tests
|
||||
- name: Unit tests
|
||||
working-directory: backend
|
||||
run: go test ./...
|
||||
run: make test-unit
|
||||
- name: Integration tests
|
||||
working-directory: backend
|
||||
run: make test-integration
|
||||
|
||||
golangci-lint:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Reference in New Issue
Block a user