From 4072191d4218a32f86a8b1ec61db6870a3039d10 Mon Sep 17 00:00:00 2001 From: avilevy Date: Wed, 25 Oct 2023 18:09:54 +0000 Subject: [PATCH] Exclude transformation tests in presubmits --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5fdf5861de..5268dc27bd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,7 +37,7 @@ jobs: go install github.com/mattn/goveralls@latest - if: ${{ runner.os == 'Linux' }} run: if [ $(goimports -l .) ]; then goimports -d .; echo 'Failed the goimports format check. Please format the code using "goimports -w ."'; exit 1; fi - - run: go test -mod=mod -coverpkg="./..." -coverprofile=covprofile ./... + - run: go test $(go list ./... | grep -v /transformation_test/) -mod=mod -coverpkg="./..." -coverprofile=covprofile ./... - env: COVERALLS_TOKEN: ${{ secrets.github_token }} run: goveralls -coverprofile=covprofile -service=github -ignore="confgenerator/filter/internal/generated/*/*"