From a4265c060b4bf04b95581950011391dd5aa08e78 Mon Sep 17 00:00:00 2001 From: hafenkran <4216598+hafenkran@users.noreply.github.com> Date: Sun, 7 Jul 2024 18:45:23 +0200 Subject: [PATCH] added docker-based testing endpoint as service to gh actions --- .github/workflows/_extension_distribution.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/_extension_distribution.yml b/.github/workflows/_extension_distribution.yml index feefdee..099f751 100644 --- a/.github/workflows/_extension_distribution.yml +++ b/.github/workflows/_extension_distribution.yml @@ -115,6 +115,10 @@ jobs: if: ${{ needs.generate_matrix.outputs.linux_matrix != '{}' && needs.generate_matrix.outputs.linux_matrix != '' }} strategy: matrix: ${{fromJson(needs.generate_matrix.outputs.linux_matrix)}} + services: + database: + image: dewall/bigquery-emulator:latest + options: --network host env: VCPKG_TARGET_TRIPLET: ${{ matrix.vcpkg_triplet }} VCPKG_TOOLCHAIN_PATH: ${{ github.workspace }}/vcpkg/scripts/buildsystems/vcpkg.cmake @@ -217,10 +221,10 @@ jobs: run: | make release - # - name: Test extension - # if: ${{ matrix.duckdb_arch != 'linux_arm64'}} - # run: | - # make test + - name: Test extension + if: ${{ matrix.duckdb_arch != 'linux_arm64'}} + run: | + make test - uses: actions/upload-artifact@v2 with: