From 8e4efddbf79a471427f510a0020ac45420fa7657 Mon Sep 17 00:00:00 2001 From: Jesse Duffield Date: Fri, 14 Apr 2023 20:21:55 +1000 Subject: [PATCH] ensure test list is correct in CI --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5b813da41..fa5a6e42c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -135,6 +135,10 @@ jobs: # ensure our vendor directory matches up with our go modules run: | go mod vendor && git diff --exit-code || (echo "Unexpected change to vendor directory. Run 'go mod vendor' locally and commit the changes" && exit 1) + - name: Check Integration Tests List + # ensure our tests list matches up with our generator's output + run: | + go generate pkg/integration/tests/tests.go && git diff --exit-code || (echo "Unexpected change to tests list. Run 'go generate pkg/integration/tests/tests.go' locally and commit the changes" && exit 1) lint: runs-on: ubuntu-latest env: