Skip to content

Commit 0347b9d

Browse files
committed
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
1 parent f0464d8 commit 0347b9d

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,20 @@ name: regression test
22
on:
33
push:
44
branches:
5+
- PG17
56
- PG16
67
- PG15
78
- PG14
89
- PG13
910
- PG12
10-
- PG11
1111
pull_request:
1212
branches:
13+
- PG17
1314
- PG16
1415
- PG15
1516
- PG14
1617
- PG13
1718
- PG12
18-
- PG11
1919
schedule:
2020
# Runs at 00:00 UTC on every Sunday.
2121
- cron: "0 0 * * SUN"
@@ -37,7 +37,9 @@ jobs:
3737

3838
- name: Set PATH and PG_VERSION
3939
run: |
40-
if [ "${{ github.ref_name }}" == 'PG16' ]; then
40+
if [ "${{ github.ref_name }}" == 'PG17' ]; then
41+
echo "PG_VERSION=17" >> $GITHUB_ENV
42+
elif [ "${{ github.ref_name }}" == 'PG16' ]; then
4143
echo "PG_VERSION=16" >> $GITHUB_ENV
4244
elif [ "${{ github.ref_name }}" == 'PG15' ]; then
4345
echo "PG_VERSION=15" >> $GITHUB_ENV
@@ -47,10 +49,6 @@ jobs:
4749
echo "PG_VERSION=13" >> $GITHUB_ENV
4850
elif [ "${{ github.ref_name }}" == 'PG12' ]; then
4951
echo "PG_VERSION=12" >> $GITHUB_ENV
50-
elif [ "${{ github.ref_name }}" == 'PG11' ]; then
51-
echo "PG_VERSION=11" >> $GITHUB_ENV
52-
elif [ "${{ github.ref_name }}" == 'PG10' ]; then
53-
echo "PG_VERSION=10" >> $GITHUB_ENV
5452
fi
5553
5654
- name: Build PostgreSQL

0 commit comments

Comments
 (0)