Skip to content

Commit

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

Backpatch-through: 11
  • Loading branch information
michaelpq committed Aug 29, 2023
1 parent 7051383 commit 8456c53
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:
- PG16
- PG15
- PG14
- PG13
- PG12
- PG11
- PG10
pull_request:
branches:
- PG16
- PG15
- PG14
- PG13
- PG12
- PG11
- PG10
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 }}" == 'PG15' ]; then
if [ "${{ github.ref_name }}" == 'PG16' ]; then
echo "PG_VERSION=16" >> $GITHUB_ENV
elif [ "${{ github.ref_name }}" == 'PG15' ]; then
echo "PG_VERSION=15" >> $GITHUB_ENV
elif [ "${{ github.ref_name }}" == 'PG14' ]; then
echo "PG_VERSION=14" >> $GITHUB_ENV
Expand All @@ -47,8 +49,6 @@ jobs:
echo "PG_VERSION=12" >> $GITHUB_ENV
elif [ "${{ github.ref_name }}" == 'PG11' ]; then
echo "PG_VERSION=11" >> $GITHUB_ENV
elif [ "${{ github.ref_name }}" == 'PG10' ]; then
echo "PG_VERSION=10" >> $GITHUB_ENV
fi
- name: Build PostgreSQL
Expand Down

0 comments on commit 8456c53

Please sign in to comment.