From 38028df4d527ec257f7a53b6a95d997c6fcd873e Mon Sep 17 00:00:00 2001 From: Ethan <39577870+ethanndickson@users.noreply.github.com> Date: Mon, 8 Sep 2025 18:06:30 +1000 Subject: [PATCH] ci: make test-go-pg-17 a required check (#19722) We run an additional test suite with the latest major version of Postgres. Until now, it hasn't been required that this suite pass before merging, prior discussion available [here](https://github.com/coder/coder/pull/13665#discussion_r1654933195). Making it required also means we'll receive slack notifications when it fails on `main`. --- .github/workflows/ci.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index b6229f2a3f..9da9f4b037 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -531,9 +531,6 @@ jobs: with: api-key: ${{ secrets.DATADOG_API_KEY }} - # NOTE: this could instead be defined as a matrix strategy, but we want to - # only block merging if tests on postgres 13 fail. Using a matrix strategy - # here makes the check in the above `required` job rather complicated. test-go-pg-17: runs-on: ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-8' || 'ubuntu-latest' }} needs: @@ -926,6 +923,7 @@ jobs: - lint - gen - test-go-pg + - test-go-pg-17 - test-go-race-pg - test-js - test-e2e @@ -948,6 +946,7 @@ jobs: echo "- lint: ${{ needs.lint.result }}" echo "- gen: ${{ needs.gen.result }}" echo "- test-go-pg: ${{ needs.test-go-pg.result }}" + echo "- test-go-pg-17: ${{ needs.test-go-pg-17.result }}" echo "- test-go-race-pg: ${{ needs.test-go-race-pg.result }}" echo "- test-js: ${{ needs.test-js.result }}" echo "- test-e2e: ${{ needs.test-e2e.result }}"