Skip to content

Commit 33c370b

Browse files
committed
Refactor ADBC driver installation to use setup-dbc action
1 parent 90dbd79 commit 33c370b

2 files changed

Lines changed: 9 additions & 14 deletions

File tree

.github/workflows/pr.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -142,10 +142,9 @@ jobs:
142142
--region us-east-1
143143
144144
- name: Install ADBC driver
145-
run: |
146-
curl -LsSf https://dbc.columnar.tech/install.sh | sh
147-
source "$HOME/.local/bin/env"
148-
dbc install flightsql
145+
uses: columnar-tech/setup-dbc@v1
146+
with:
147+
drivers: flightsql
149148

150149
- name: Run spicebench
151150
if: ${{ false }}

.github/workflows/run_spicebench.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -216,19 +216,15 @@ jobs:
216216
217217
- name: Install ADBC Postgres driver
218218
if: ${{ startsWith(github.event.inputs.system_under_test || 'spice_cloud', 'databricks-') }}
219-
run: |
220-
set -euo pipefail
221-
curl -LsSf https://dbc.columnar.tech/install.sh | sh
222-
source "$HOME/.local/bin/env"
223-
dbc install postgresql
219+
uses: columnar-tech/setup-dbc@v1
220+
with:
221+
drivers: postgresql
224222

225223
- name: Install ADBC FlightSQL driver
226224
if: ${{ !startsWith(github.event.inputs.system_under_test || 'spice_cloud', 'databricks-') }}
227-
run: |
228-
set -euo pipefail
229-
curl -LsSf https://dbc.columnar.tech/install.sh | sh
230-
source "$HOME/.local/bin/env"
231-
dbc install flightsql
225+
uses: columnar-tech/setup-dbc@v1
226+
with:
227+
drivers: flightsql
232228

233229
- name: Run spicebench
234230
env:

0 commit comments

Comments
 (0)