Skip to content

Update test.yml

Update test.yml #85

Workflow file for this run

name: Test for workflow
on: push
defaults:
run:
shell: bash -euxo pipefail {0}
jobs:
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:
- name: Show vars
continue-on-error: ${{ matrix.lfc_state == "with-lfc" && matrix.build-type == 'debug' }}

Check failure on line 18 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / Test for workflow

Invalid workflow file

The workflow is not valid. .github/workflows/test.yml (Line: 18, Col: 28): Unexpected symbol: '"with-lfc"'. Located at position 21 within expression: matrix.lfc_state == "with-lfc" && matrix.build-type == 'debug' .github/workflows/test.yml (Line: 18, Col: 28): Unexpected value '${{ matrix.lfc_state == "with-lfc" && matrix.build-type == 'debug' }}'
run: |
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 }}