CI(regress-tests): run debug builds only with the latest Postgres version

This commit is contained in:
Alexander Bayandin
2024-07-31 10:10:49 +01:00
parent 36c1719a07
commit 176eefa47a

View File

@@ -258,7 +258,8 @@ jobs:
strategy:
fail-fast: false
matrix:
pg_version: ${{ fromJson(inputs.pg-versions) }}
# Run tests on all Postgres versions in release builds and only on the latest version in debug builds
pg_version: ${{ fromJson(inputs.build-type == 'release' && '["v14", "v15", "v16"]' || '["v16"]') }}
steps:
- uses: actions/checkout@v4
with: