Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/actions/setup_cassert_pg/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ runs:
echo "LD_LIBRARY_PATH=$("$PG_CONFIG" --libdir):${LD_LIBRARY_PATH:-}" >> "$GITHUB_ENV"
# configure bakes bindir/libdir into Makefile.global, so `make check-*` auto-uses this PG.
./configure PG_CONFIG="$PG_CONFIG" --without-pg-version-check
make clean
make -j"$(nproc)" all
# Installs into the $HOME pgenv prefix for this version -> no sudo, no clobber across versions.
make install
11 changes: 7 additions & 4 deletions .github/workflows/nightly_cassert.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,17 +112,20 @@ jobs:
- uses: ./.github/actions/setup_cassert_pg
with:
pg_full: ${{ matrix.new_full }}
- name: Install python env for upgrade harness
shell: bash
run: ( cd src/test/regress && pipenv install --deploy )
- name: check-pg-upgrade (with and without columnar)
shell: bash
timeout-minutes: 90
run: |
set -euo pipefail
OLD="$HOME/.pgenv/pgsql-${{ matrix.old_full }}/bin"
NEW="$HOME/.pgenv/pgsql-${{ matrix.new_full }}/bin"
make -C src/test/regress check-pg-upgrade \
old-bindir="$OLD" new-bindir="$NEW" test-with-columnar=false
make -C src/test/regress check-pg-upgrade \
old-bindir="$OLD" new-bindir="$NEW" test-with-columnar=true
( cd src/test/regress && pipenv run make -C . check-pg-upgrade \
old-bindir="$OLD" new-bindir="$NEW" test-with-columnar=false )
( cd src/test/regress && pipenv run make -C . check-pg-upgrade \
old-bindir="$OLD" new-bindir="$NEW" test-with-columnar=true )
- name: Copy pg_upgrade logs for newData dir
if: failure()
shell: bash
Expand Down
Loading