summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorStefan Haller <stefan@haller-berlin.de>2023-04-13 19:15:38 +0200
committerStefan Haller <stefan@haller-berlin.de>2023-04-13 19:17:08 +0200
commitb1a56249f506ca096935fca2b7b255ece0896193 (patch)
tree6a990c34b1b541fef9495f3ffc98d39b62e42f49 /.github
parent82c54ed3d2339d2653dd8d06a39bcfb0d5e6cbe0 (diff)
Add CI job to check that the test list is up to date
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 5b813da41..ffe02ead8 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -135,6 +135,11 @@ 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 Test List
+ # ensure our integration test list is up to date
+ run: |
+ go generate pkg/integration/tests/tests.go && git diff --exit-code || (echo "Integration test list not up to date. Run 'go generate pkg/integration/tests/tests.go' locally and commit the changes" && exit 1)
+ shell: bash # needed so that we get "-o pipefail"
lint:
runs-on: ubuntu-latest
env: