diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 78dc11c9b4..4d71d20441 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -229,12 +229,8 @@ jobs: strategy: fail-fast: false matrix: - arch: [ x64, arm64 ] - # Do not build or run tests in debug for release branches - build-type: ${{ fromJSON((startsWith(github.ref_name, 'release') && github.event_name == 'push') && '["release"]' || '["debug", "release"]') }} - include: - - build-type: release - arch: arm64 + arch: [ x64 ] + build-type: [ 'release' ] uses: ./.github/workflows/_build-and-test-locally.yml with: arch: ${{ matrix.arch }} @@ -244,16 +240,12 @@ jobs: # Run tests on all Postgres versions in release builds and only on the latest version in debug builds. # Run without LFC on v17 release and debug builds only. For all the other cases LFC is enabled. test-cfg: | - ${{ matrix.build-type == 'release' && '[{"pg_version":"v14", "lfc_state": "with-lfc"}, - {"pg_version":"v15", "lfc_state": "with-lfc"}, - {"pg_version":"v16", "lfc_state": "with-lfc"}, - {"pg_version":"v17", "lfc_state": "with-lfc"}, - {"pg_version":"v17", "lfc_state": "without-lfc"}]' + ${{ matrix.build-type == 'release' && '[{"pg_version":"v14", "lfc_state": "with-lfc"} ]' || '[{"pg_version":"v17", "lfc_state": "without-lfc" }]' }} secrets: inherit coverage-report: - if: ${{ !startsWith(github.ref_name, 'release') }} + # if: ${{ !startsWith(github.ref_name, 'release') }} needs: [ check-permissions, build-build-tools-image, build-and-test-locally ] permissions: id-token: write # aws-actions/configure-aws-credentials