Filter on old_record
during deletes
#98
Workflow file for this run
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
name: WALRUS tests | |
on: | |
pull_request: | |
branches: [master] | |
push: | |
branches: [master] | |
jobs: | |
autotests: | |
name: Run tests | |
runs-on: ubuntu-latest | |
container: | |
image: supabase/postgres:15.1.1.79 | |
options: --tmpfs=/pgtmpfs -e PGDATA=/pgtmpfs | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Checkout wal2json | |
uses: actions/checkout@v3 | |
with: | |
repository: eulerto/wal2json | |
ref: master | |
path: ./wal2json | |
- name: Run Test | |
run: | | |
# install wal2json | |
cd wal2json | |
apt-get update && apt-get install build-essential llvm-11 -y | |
apt install -y wget lsb-release | |
sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list' | |
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - | |
apt-get update | |
apt install libpq5=16.3-1.pgdg20.04+1 libpq-dev postgresql-server-dev-15 -y --allow-downgrades | |
make | |
make install | |
# run tests | |
cd .. | |
chown -R postgres /__w/walrus/walrus | |
su postgres -c 'export PATH=$PATH:/usr/lib/postgresql/15/bin/ ; bin/installcheck' | |
- uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: regression.out | |
path: regression.out | |
retention-days: 7 |