Skip to content

Run

Run #8

name: Run spicebench
on:
workflow_dispatch:
jobs:
run-spicebench:
name: Run spicebench
runs-on: ubuntu-latest
timeout-minutes: 600
steps:
- uses: actions/checkout@v6
- uses: ./.github/actions/management-login
with:
client-id: ${{ secrets.SPICE_MANAGEMENT_CLIENT_ID }}
client-secret: ${{ secrets.SPICE_MANAGEMENT_CLIENT_SECRET }}
- name: Log in to GHCR
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Run spicebench
run: |
docker run \
-e SPICEAI_API_KEY \
-v ${{ github.workspace }}/test/spicepods:/spicepods \
ghcr.io/spiceai/spidapter:latest \
run load \
--spiced-start-api-url https://dev-api.spice.ai \
--concurrency 2 \
--query-set tpch \
--spiced-start-mode spice-cloud \
-p /spicepods/s3-public\[parquet\].yaml