From 74a148e625ce29272aaca516d302edabd975a52d Mon Sep 17 00:00:00 2001 From: James Blair Date: Fri, 4 Aug 2023 10:04:56 +1200 Subject: [PATCH] Update workflows to use makefile recipes for unit, integration & e2e-release. Signed-off-by: James Blair --- .github/workflows/tests.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index cfdc9ba05..cc6b090b6 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -38,19 +38,19 @@ jobs: GOARCH=amd64 PASSES='fmt bom dep' ./test ;; linux-amd64-integration-1-cpu) - GOARCH=amd64 CPU=1 PASSES='integration' RACE='false' ./test + GOARCH=amd64 CPU=1 RACE='false' make test-integration ;; linux-amd64-integration-2-cpu) - GOARCH=amd64 CPU=2 PASSES='integration' RACE='false' ./test + GOARCH=amd64 CPU=2 RACE='false' make test-integration ;; linux-amd64-integration-4-cpu) - GOARCH=amd64 CPU=4 PASSES='integration' RACE='false' ./test + GOARCH=amd64 CPU=4 RACE='false' make test-integration ;; linux-amd64-functional) ./build && GOARCH=amd64 PASSES='functional' ./test ;; linux-amd64-unit-4-cpu-race) - GOARCH=amd64 PASSES='unit' RACE='true' CPU='4' ./test -p=2 + GOARCH=amd64 RACE='true' CPU='4' GO_TEST_FLAGS='-p=2' make test-unit ;; all-build) GOARCH=amd64 PASSES='build' ./test @@ -66,10 +66,10 @@ jobs: PASSES='build grpcproxy' CPU='4' RACE='true' ./test ;; linux-amd64-e2e) - GOARCH=amd64 PASSES='build release e2e' ./test + GOARCH=amd64 make test-e2e-release ;; linux-386-unit) - GOARCH=386 PASSES='unit' ./test + GOARCH=386 make test-unit ;; *) echo "Failed to find target"