Skip to content

Commit 4e2cab8

Browse files
author
Will Scullin
committed
Trino CI test
1 parent be099d9 commit 4e2cab8

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed

.github/workflows/db-trino.yaml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Trino DB
2+
3+
on: [push, pull_request, workflow_call]
4+
5+
jobs:
6+
# Label of the container job
7+
test-trino:
8+
runs-on: ubuntu-latest
9+
10+
strategy:
11+
matrix:
12+
node-version: [18.x]
13+
14+
steps:
15+
- uses: actions/checkout@v4
16+
with:
17+
submodules: 'true'
18+
- name: Use Node.js ${{ matrix.node-version }}
19+
uses: actions/setup-node@v4
20+
with:
21+
node-version: ${{ matrix.node-version }}
22+
- name: npm install, build, and test
23+
run: |
24+
npm ci --loglevel error
25+
npm run build
26+
npm run build-duckdb-db
27+
npm run test-silent -- -- test
28+
env:
29+
MALLOY_DATABASES: trino
30+
TRINO_SERVER: https://malloytesting-test-cluster.trino.galaxy.starburst.io
31+
TRINO_USER: ${{ secrets.TRINO_USER}}
32+
TRINO_PASSWORD: ${{ secrets.TRINO_PASSWORD}}

test/src/runtimes.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ export const allDatabases = [
190190
'duckdb',
191191
'duckdb_wasm',
192192
'snowflake',
193+
'trino',
193194
];
194195

195196
type RuntimeDatabaseNames = (typeof allDatabases)[number];

0 commit comments

Comments
 (0)