Use run-tests.yaml for running PR tests #44
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
name: Malloy Tests | |
on: [workflow_dispatch, pull_request] | |
jobs: | |
main: | |
uses: './.github/workflows/main.yaml' | |
secrets: | |
BIGQUERY_KEY: ${{ secrets.BIGQUERY_KEY }} | |
db-trino: | |
uses: './.github/workflows/db-trino.yaml' | |
secrets: | |
BQ_PRESTO_TRINO_KEY: ${{ secrets.BQ_PRESTO_TRINO_KEY }} | |
db-presto: | |
uses: './.github/workflows/db-presto.yaml' | |
secrets: | |
BQ_PRESTO_TRINO_KEY: ${{ secrets.BQ_PRESTO_TRINO_KEY }} | |
db-duckdb: | |
uses: './.github/workflows/db-duckdb.yaml' | |
db-bigquery: | |
uses: './.github/workflows/db-bigquery.yaml' | |
secrets: | |
BIGQUERY_KEY: ${{ secrets.BIGQUERY_KEY }} | |
db-motherduck: | |
uses: './.github/workflows/db-motherduck.yaml' | |
secrets: | |
MOTHERDUCK_TOKEN_10: ${{ secrets.MOTHERDUCK_TOKEN_10 }} | |
db-postgres: | |
uses: './.github/workflows/db-postgres.yaml' | |
db-snowflake: | |
uses: './.github/workflows/db-snowflake.yaml' | |
secrets: | |
SNOWFLAKE_CONNECTION: ${{ secrets.SNOWFLAKE_CONNECTION }} | |
db-mysql: | |
uses: './.github/workflows/db-mysql.yaml' | |
db-duckdb-wasm: | |
uses: './.github/workflows/db-duckdb-wasm.yaml' | |
# I think I have the sorted roughly longest to shortest | |
# so the longer running jobs get workers sooner, not sure | |
# that is the right plan | |
malloy-tests: | |
needs: | |
- main | |
- db-snowflake | |
- db-bigquery | |
- db-duckdb | |
- db-presto | |
- db-duckdb-wasm | |
- db-trino | |
- db-postgres | |
- db-motherduck | |
- db-mysql | |
runs-on: ubuntu-latest | |
steps: | |
- name: Success | |
run: echo Success |