From 2c526946e4376601b3cd43ce4fd05942c5a6786f Mon Sep 17 00:00:00 2001 From: Michael Paquier Date: Mon, 22 Jul 2024 17:46:31 +0900 Subject: [PATCH] Add support for github actions for new branch PG17 While on it, remove the tests for PG11 as this branch is out of support. Backpatch-through: 12 --- .github/workflows/test.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ce9134e9..1db76f84 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,20 +2,20 @@ name: regression test on: push: branches: + - PG17 - PG16 - PG15 - PG14 - PG13 - PG12 - - PG11 pull_request: branches: + - PG17 - PG16 - PG15 - PG14 - PG13 - PG12 - - PG11 schedule: # Runs at 00:00 UTC on every Sunday. - cron: "0 0 * * SUN" @@ -37,7 +37,9 @@ jobs: - name: Set PATH and PG_VERSION run: | - if [ "${{ github.ref_name }}" == 'PG16' ]; then + if [ "${{ github.ref_name }}" == 'PG17' ]; then + echo "PG_VERSION=17" >> $GITHUB_ENV + elif [ "${{ github.ref_name }}" == 'PG16' ]; then echo "PG_VERSION=16" >> $GITHUB_ENV elif [ "${{ github.ref_name }}" == 'PG15' ]; then echo "PG_VERSION=15" >> $GITHUB_ENV @@ -47,8 +49,6 @@ jobs: echo "PG_VERSION=13" >> $GITHUB_ENV elif [ "${{ github.ref_name }}" == 'PG12' ]; then echo "PG_VERSION=12" >> $GITHUB_ENV - elif [ "${{ github.ref_name }}" == 'PG11' ]; then - echo "PG_VERSION=11" >> $GITHUB_ENV fi - name: Build PostgreSQL