From 9ac2f011d6fd5797bd20c05f859368089375ef77 Mon Sep 17 00:00:00 2001 From: Will Scullin Date: Sun, 31 Mar 2024 09:44:42 -0700 Subject: [PATCH 1/2] Add manual test runner --- .github/workflows/run-tests.yaml | 34 ++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/run-tests.yaml diff --git a/.github/workflows/run-tests.yaml b/.github/workflows/run-tests.yaml new file mode 100644 index 000000000..90e4747dc --- /dev/null +++ b/.github/workflows/run-tests.yaml @@ -0,0 +1,34 @@ +name: npmjs.com Pre-release + +on: [workflow_dispatch] + +jobs: + 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: ${{ secrets.MOTHERDUCK_TOKEN }} + db-postgres: + uses: './.github/workflows/db-postgres.yaml' + db-snowflake: + uses: './.github/workflows/db-snowflake.yaml' + secrets: + SNOWFLAKE_USER: ${{ secrets.SNOWFLAKE_USER }} + SNOWFLAKE_PASSWORD: ${{ secrets.SNOWFLAKE_PASSWORD }} + main: + uses: './.github/workflows/main.yaml' + + npm-prerelease: + needs: + - db-bigquery + - db-motherduck + - db-postgres + - db-snowflake + - main + runs-on: ubuntu-latest + steps: + - name: Success + run: echo Success From 33f0dd17da9dd381650ff3abfe0a4cdcdb9ad97d Mon Sep 17 00:00:00 2001 From: Will Scullin Date: Sun, 31 Mar 2024 12:03:32 -0700 Subject: [PATCH 2/2] Fix name --- .github/workflows/run-tests.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/run-tests.yaml b/.github/workflows/run-tests.yaml index 90e4747dc..5ab68fece 100644 --- a/.github/workflows/run-tests.yaml +++ b/.github/workflows/run-tests.yaml @@ -1,4 +1,4 @@ -name: npmjs.com Pre-release +name: Malloy Tests on: [workflow_dispatch] @@ -21,7 +21,7 @@ jobs: main: uses: './.github/workflows/main.yaml' - npm-prerelease: + malloy-tests: needs: - db-bigquery - db-motherduck