Skip to content

Commit aa94986

Browse files
committed
Add support for github actions for new branch PG18
While on it, remove the tests for PG12 as this branch is out of support. Backpatch-through: 13
1 parent 6fc57ec commit aa94986

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,20 @@ name: regression test
22
on:
33
push:
44
branches:
5+
- PG18
56
- PG17
67
- PG16
78
- PG15
89
- PG14
910
- PG13
10-
- PG12
1111
pull_request:
1212
branches:
13+
- PG18
1314
- PG17
1415
- PG16
1516
- PG15
1617
- PG14
1718
- PG13
18-
- PG12
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 }}" == 'PG17' ]; then
40+
if [ "${{ github.ref_name }}" == 'PG18' ]; then
41+
echo "PG_VERSION=18" >> $GITHUB_ENV
42+
elif [ "${{ github.ref_name }}" == 'PG17' ]; then
4143
echo "PG_VERSION=17" >> $GITHUB_ENV
4244
elif [ "${{ github.ref_name }}" == 'PG16' ]; then
4345
echo "PG_VERSION=16" >> $GITHUB_ENV
@@ -47,8 +49,6 @@ jobs:
4749
echo "PG_VERSION=14" >> $GITHUB_ENV
4850
elif [ "${{ github.ref_name }}" == 'PG13' ]; then
4951
echo "PG_VERSION=13" >> $GITHUB_ENV
50-
elif [ "${{ github.ref_name }}" == 'PG12' ]; then
51-
echo "PG_VERSION=12" >> $GITHUB_ENV
5252
fi
5353
5454
- name: Build PostgreSQL

0 commit comments

Comments
 (0)