From 51da7732db600bbc170861fbefd7dc7fabe73eb2 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Wed, 4 Oct 2023 18:31:42 +0200 Subject: [PATCH] CI: Test all packages Signed-off-by: Knut Ahlers --- .github/workflows/test-and-build.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-and-build.yml b/.github/workflows/test-and-build.yml index 27f4d2a..a260926 100644 --- a/.github/workflows/test-and-build.yml +++ b/.github/workflows/test-and-build.yml @@ -50,7 +50,17 @@ 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 ./... + + - name: 'Lint and test code: Client' + working-directory: ./pkg/client + run: | + go test -v ./... + + - name: 'Lint and test code: OBS-CLI' + working-directory: ./cmd/obs-cli run: | go test -v ./...