diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 166662c..c4966e8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -4,15 +4,28 @@ defaults: run: shell: bash -euxo pipefail {0} jobs: - generate-a-secret-output: + regress-tests: runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + pg_version: [14, 15, 16] + arch: [x64, arm64] + build_type: [debug, release] + lfc_state: [with-lfc,without-lfc] steps: - - id: sets-a-secret - name: Generate, mask, and output a secret + - name: Show vars + continue-on-error: ${{ matrix.lfc_state == 'with-lfc' && matrix.build_type == 'debug' }} run: | - the_secret=$((RANDOM)) - echo "::add-mask::$the_secret" - echo "secret-number=$the_secret" >> "$GITHUB_OUTPUT" - - name: Use that secret output (protected by a mask) - run: | - echo "the secret number is ${{ steps.sets-a-secret.outputs.secret-number }}" + echo pg_version: $PG_VERSION + echo build_type: $BUILD_TYPE + echo lfc: $LFC_STATE + if [ $LFC_STATE == with-lfc ] && [ $BUILD_TYPE == debug ]; then + exit 1 + fi + env: + PG_VERSION: ${{ matrix.pg_version }} + LFC_STATE: ${{ matrix.lfc_state }} + BUILD_TYPE: ${{ matrix.build_type }} + +