Skip to content

Commit

Permalink
Add support for github actions for new branch PG17
Browse files Browse the repository at this point in the history
While on it, remove the tests for PG11 as this branch is out of support.

Backpatch-through: 12
  • Loading branch information
michaelpq committed Jul 22, 2024
1 parent fcb4bbc commit f83f697
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit f83f697

Please sign in to comment.