Make multinode tests conditional #1658
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: Additional tests | |
"on": | |
push: | |
branches: | |
- main | |
- prerelease_test | |
jobs: | |
config: | |
runs-on: ubuntu-latest | |
outputs: | |
pg_latest: ${{ steps.setter.outputs.PG_LATEST }} | |
steps: | |
- name: Checkout source code | |
uses: actions/checkout@v3 | |
- name: Read configuration | |
id: setter | |
run: python .github/gh_config_reader.py | |
backup_and_restore: | |
name: Backup and restore | |
runs-on: ubuntu-latest | |
needs: config | |
strategy: | |
fail-fast: false | |
matrix: | |
pg: ${{ fromJson(needs.config.outputs.pg_latest) }} | |
env: | |
PG_VERSION: ${{ matrix.pg }} | |
steps: | |
- name: Checkout TimescaleDB | |
uses: actions/checkout@v3 | |
- name: Test recovery using restore points | |
run: | | |
./scripts/docker-run-restore-points-test.sh |