mirror of
https://github.com/Luzifer/ots.git
synced 2025-04-19 06:55:51 -04:00
CI: Test all packages
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
bbf80c8524
commit
c02a294ede
14
.github/workflows/test-and-build.yml
vendored
14
.github/workflows/test-and-build.yml
vendored
@ -50,9 +50,19 @@ jobs:
|
||||
- name: Marking workdir safe
|
||||
run: git config --global --add safe.directory /__w/ots/ots
|
||||
|
||||
- name: Lint and test code
|
||||
- name: 'Lint and test code: API'
|
||||
run: |
|
||||
go test -v ./...
|
||||
go test -cover -v ./...
|
||||
|
||||
- name: 'Lint and test code: Client'
|
||||
working-directory: ./pkg/client
|
||||
run: |
|
||||
go test -cover -v ./...
|
||||
|
||||
- name: 'Lint and test code: OTS-CLI'
|
||||
working-directory: ./cmd/ots-cli
|
||||
run: |
|
||||
go test -cover -v ./...
|
||||
|
||||
- name: Generate (and validate) translations
|
||||
run: make translate
|
||||
|
Loading…
x
Reference in New Issue
Block a user