ci: add make go-test-api to GitHub Action

Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
Niels de Vos
2021-10-04 15:58:13 +02:00
committed by mergify[bot]
parent 5ea99fdd5b
commit 97525f5e74
3 changed files with 12 additions and 4 deletions

View File

@ -103,7 +103,7 @@ go-test: check-env
TEST_COVERAGE="$(TEST_COVERAGE)" GO_COVER_DIR="$(GO_COVER_DIR)" GO_TAGS="$(GO_TAGS)" ./scripts/test-go.sh
go-test-api: check-env
@pushd api/deploy/ocp && go test -v ./... && popd
@pushd api && ../scripts/test-go.sh && popd
mod-check: check-env
@echo 'running: go mod verify'