Skip to content

Commit

Permalink
added docker-based testing endpoint as service to gh actions
Browse files Browse the repository at this point in the history
  • Loading branch information
hafenkran committed Jul 7, 2024
1 parent e70f577 commit a4265c0
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/_extension_distribution.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit a4265c0

Please sign in to comment.