Files
neon/.github/workflows/testing.yml
Stas Kelvich 2c308da4d2 Support several postgres instances on top of a single pageserver.
Each postgres will use its own page cache with associated data
structures. Postgres system_id is used to distinguish instances.
That also means that backup should have valid system_id stashed
somewhere. For now I put '42' as sys_id during S3 restore, but
that ought to be fixed.

Also this commit introduces new way of starting WAL receivers:
postgres can initiate such connection by calling 'callmemaybe $url'
command in the page_service -- that will start appropriate wal-redo
and wal-receiver threads. This way page server may start without
a priori knowledge of compute node addreses.
2021-04-03 19:02:44 +03:00

31 lines
685 B
YAML

name: regression check
on: [push, pull_request]
jobs:
regression-check:
name: run regression test suite
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: true
- name: Install postgres dependencies
run: |
sudo apt install build-essential libreadline-dev zlib1g-dev flex bison libxml2-dev libcurl4-openssl-dev
- name: Build postgres
run: |
./pgbuild.sh
- name: Install rust
run: |
sudo apt install -y cargo
- name: Run test
run: |
cargo test --test test_pageserver -- --nocapture --test-threads=1