-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Also add a *-ci pattern for testing branches in forks.
- Loading branch information
Showing
1 changed file
with
6 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,10 +3,12 @@ | |
on: | ||
push: | ||
branches: | ||
- master | ||
- integration | ||
- '**-ci' | ||
pull_request: | ||
branches: | ||
- master | ||
- integration | ||
|
||
jobs: | ||
regression-tests: | ||
|
@@ -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: | | ||
|
@@ -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 |