ci: make repo integrity check uncached and integration-aware
This commit is contained in:
@@ -23,7 +23,12 @@ check_shell_syntax() {
|
||||
echo "[repo] fact-sources"
|
||||
check_fact_sources "${ROOT_DIR}"
|
||||
check_shell_syntax
|
||||
run_go_suite "${ROOT_DIR}" "${GO_BIN}" "gateway" "gateway" test ./...
|
||||
run_go_suite "${ROOT_DIR}" "${GO_BIN}" "platform-token-runtime" "platform-token-runtime" test ./...
|
||||
run_go_suite "${ROOT_DIR}" "${GO_BIN}" "supply-api unit" "supply-api" test ./...
|
||||
run_go_suite "${ROOT_DIR}" "${GO_BIN}" "supply-api e2e" "supply-api" test -tags=e2e ./e2e
|
||||
run_go_suite "${ROOT_DIR}" "${GO_BIN}" "gateway" "gateway" test -count=1 ./...
|
||||
run_go_suite "${ROOT_DIR}" "${GO_BIN}" "platform-token-runtime" "platform-token-runtime" test -count=1 ./...
|
||||
run_go_suite "${ROOT_DIR}" "${GO_BIN}" "supply-api unit" "supply-api" test -count=1 ./...
|
||||
echo "[repo] supply-api repository integration"
|
||||
(
|
||||
cd "${ROOT_DIR}/supply-api"
|
||||
bash scripts/run_integration_tests.sh ./internal/repository
|
||||
)
|
||||
run_go_suite "${ROOT_DIR}" "${GO_BIN}" "supply-api e2e" "supply-api" test -count=1 -tags=e2e ./e2e
|
||||
|
||||
Reference in New Issue
Block a user