-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into jlsmart-hllsnowflake
- Loading branch information
Showing
45 changed files
with
518 additions
and
112 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: "DB:DuckDB(WASM)" | ||
|
||
on: [pull_request, workflow_call] | ||
|
||
jobs: | ||
test-duckdb-wasm: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
node-version: [18.x] | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: 'true' | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- name: npm install, build, and test | ||
run: | | ||
npm ci --loglevel error | ||
npm run build | ||
npm run build-duckdb-db | ||
npx jest --reporters jest-silent-reporter --reporters summary --config jest.duckdb-other.config.ts --runInBand | ||
env: | ||
CI: true | ||
MALLOY_DATABASES: duckdb_wasm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: "DB:DuckDB" | ||
|
||
on: [pull_request, workflow_call] | ||
|
||
jobs: | ||
test-duckdb: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
node-version: [18.x] | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: 'true' | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- name: npm install, build, and test | ||
run: | | ||
npm ci --loglevel error | ||
npm run build | ||
npm run build-duckdb-db | ||
npx jest --reporters jest-silent-reporter --reporters summary --config jest.duckdb.config.ts --runInBand | ||
env: | ||
CI: true | ||
MALLOY_DATABASES: duckdb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
module.exports = { | ||
...require('./jest.config.ts'), | ||
roots: [ | ||
'<rootDir>/packages/malloy-db-bigquery/src/', | ||
'<rootDir>/test/src/databases/all/', | ||
'<rootDir>/test/src/databases/bigquery/', | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
module.exports = { | ||
...require('./jest.config.ts'), | ||
roots: [ | ||
'<rootDir>/packages/malloy-malloy-sql/', | ||
'<rootDir>/packages/malloy-syntax-highlight/', | ||
'<rootDir>/packages/malloy/', | ||
'<rootDir>/test/src/core/', | ||
'<rootDir>/test/src/render/', | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
// For motherduck and duckdb-wasm | ||
module.exports = { | ||
...require('./jest.config.ts'), | ||
roots: [ | ||
'<rootDir>/packages/malloy-db-duckdb/', | ||
'<rootDir>/test/src/databases/all/', | ||
'<rootDir>/test/src/databases/duckdb-all/', | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
module.exports = { | ||
...require('./jest.config.ts'), | ||
roots: [ | ||
'<rootDir>/packages/malloy-db-duckdb/', | ||
'<rootDir>/test/src/databases/all/', | ||
'<rootDir>/test/src/databases/duckdb/', | ||
'<rootDir>/test/src/databases/duckdb-all/', | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
module.exports = { | ||
...require('./jest.config.ts'), | ||
roots: ['<rootDir>/test/src/databases/all/'], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
module.exports = { | ||
...require('./jest.config.ts'), | ||
roots: [ | ||
'<rootDir>/packages/malloy-db-postgres/', | ||
'<rootDir>/test/src/databases/all/', | ||
'<rootDir>/test/src/databases/postgres/', | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
module.exports = { | ||
...require('./jest.config.ts'), | ||
roots: [ | ||
'<rootDir>/test/src/databases/all/', | ||
'<rootDir>/test/src/databases/presto-trino/', | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
module.exports = { | ||
...require('./jest.config.ts'), | ||
roots: [ | ||
'<rootDir>/packages/malloy-db-snowflake/', | ||
'<rootDir>/test/src/databases/all/', | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
module.exports = { | ||
...require('./jest.config.ts'), | ||
roots: [ | ||
'<rootDir>/packages/malloy-db-trino/src/', | ||
'<rootDir>/test/src/databases/all/', | ||
'<rootDir>/test/src/databases/presto-trino/', | ||
], | ||
}; |
Oops, something went wrong.