Skip to content

Commit

Permalink
Add integration to CI branches.
Browse files Browse the repository at this point in the history
Also add a *-ci pattern for testing branches in forks.
  • Loading branch information
dwsteele committed Jul 25, 2024
1 parent 6112628 commit d3510df
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/regression-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@
on:
push:
branches:
- master
- integration
- '**-ci'
pull_request:
branches:
- master
- integration

jobs:
regression-tests:
Expand All @@ -24,11 +26,11 @@ jobs:
steps:
- name: Checkout set_user repo
uses: actions/[email protected]

- name: Set DEVPKG to pgver if unset
if: ${{ env.DEVPKG == '' }}
run: |
echo "DEVPKG=${{ matrix.pgver }}" >> $GITHUB_ENV;
echo "DEVPKG=${{ matrix.pgver }}" >> $GITHUB_ENV;
- name: Build set_user
run: |
Expand All @@ -47,7 +49,7 @@ jobs:
docker exec set_user make -C /src/set_user USE_PGXS=1 REGRESS_OPTS='--user=postgres' installcheck
- name: Show any regression diffs
if: ${{ failure() }}
if: ${{ failure() }}
run: |
docker cp set_user:/src/set_user/regression.diffs ./regression.diffs
cat ./regression.diffs

0 comments on commit d3510df

Please sign in to comment.