CI: Test all packages

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2023-10-04 18:31:42 +02:00
parent bbf80c8524
commit c02a294ede
No known key found for this signature in database
GPG Key ID: D91C3E91E4CAD6F5

View File

@ -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