From 72c6114c683ceda0757cbae5de1ce811d33ffc40 Mon Sep 17 00:00:00 2001 From: Sven Klemm Date: Mon, 15 Mar 2021 01:26:36 +0100 Subject: [PATCH] Add update test for PG13 --- .github/workflows/update-test.yaml | 4 +++- scripts/test_updates_pg13.sh | 16 ++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100755 scripts/test_updates_pg13.sh diff --git a/.github/workflows/update-test.yaml b/.github/workflows/update-test.yaml index 92791ee8e..af2aeadf9 100644 --- a/.github/workflows/update-test.yaml +++ b/.github/workflows/update-test.yaml @@ -13,13 +13,15 @@ jobs: runs-on: 'ubuntu-18.04' strategy: matrix: - pg: ["11.11","12.6"] + pg: ["11.11","12.6","13.2"] opt: ["", "-r"] include: - pg: 11.11 pg_major: 11 - pg: 12.6 pg_major: 12 + - pg: 13.2 + pg_major: 13 - opt: "-r" kind: "with repair test" fail-fast: false diff --git a/scripts/test_updates_pg13.sh b/scripts/test_updates_pg13.sh new file mode 100755 index 000000000..56aa816ba --- /dev/null +++ b/scripts/test_updates_pg13.sh @@ -0,0 +1,16 @@ +#!/usr/bin/env bash + +set -e +set -o pipefail + +SCRIPT_DIR=$(dirname $0) +echo $SCRIPT_DIR + +TAGS="2.1.0-pg13" +TEST_VERSION="v7" + +TAGS=$TAGS TEST_VERSION=$TEST_VERSION bash ${SCRIPT_DIR}/test_updates.sh "$@" +EXIT_CODE=$? +if [ $EXIT_CODE -ne 0 ]; then + exit $EXIT_CODE +fi