Discard compression algorithm on dump versions >= 1.15 #19
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: Test | |
on: | |
push: | |
branches: | |
- ghat | |
- main | |
jobs: | |
test: | |
strategy: | |
fail-fast: false | |
matrix: | |
pg: [16, 15, 14, 13, 12, 11] | |
name: PostgreSQL ${{ matrix.pg }} | |
runs-on: ubuntu-latest | |
container: pgxn/pgxn-tools | |
steps: | |
- name: Start PostgreSQL ${{ matrix.pg }} | |
run: pg-start ${{ matrix.pg }} | |
- name: Check out repository code | |
uses: actions/checkout@v2 | |
- name: Install rust toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
- name: Build pg_split_dump | |
run: cargo build --verbose | |
- name: Build tar_diff | |
working-directory: tar_diff | |
run: cargo build --verbose | |
- name: Build create_expected_archive | |
working-directory: tests/bin/create_expected_archive | |
run: cargo build --verbose | |
- name: Test on PostgreSQL ${{ matrix.pg }} | |
working-directory: tests | |
run: ./run_tests.sh |