Skip to content
Snippets Groups Projects
Unverified Commit abf4279e authored by Nemanja Glumac's avatar Nemanja Glumac Committed by GitHub
Browse files

Migrate Snowflake driver test to GitHub Actions (#27103)

* Migrate Snowflake driver test to GitHub Actions

* Do not run test when PR is in a draft mode

* Dial down timeout to 60 minutes
parent d310cc77
No related branches found
No related tags found
No related merge requests found
......@@ -643,10 +643,3 @@ workflows:
command: cat /sys/fs/cgroup/memory/memory.max_usage_in_bytes
when: always
driver: presto-jdbc
- test-driver:
name: be-tests-snowflake-ee
requires:
- be-deps
driver: snowflake
timeout: 115m # whut
......@@ -351,6 +351,26 @@ jobs:
with:
junit-name: 'be-tests-redshift-ee'
be-tests-snowflake-ee:
if: github.event.pull_request.draft == false
runs-on: ubuntu-20.04
timeout-minutes: 60
env:
CI: 'true'
DRIVERS: snowflake
MB_SNOWFLAKE_TEST_USER: METABASE CI
MB_SNOWFLAKE_TEST_ACCOUNT: ${{ secrets.MB_SNOWFLAKE_TEST_ACCOUNT }}
MB_SNOWFLAKE_TEST_PASSWORD: ${{ secrets.MB_SNOWFLAKE_TEST_PASSWORD }}
MB_SNOWFLAKE_TEST_WAREHOUSE: ${{ secrets.MB_SNOWFLAKE_TEST_WAREHOUSE }}
MB_SNOWFLAKE_TEST_PK_USER: METABASE PK
MB_SNOWFLAKE_TEST_PK_PRIVATE_KEY: ${{ secrets.MB_SNOWFLAKE_TEST_PK_PRIVATE_KEY }}
steps:
- uses: actions/checkout@v3
- name: Test Snowflake driver
uses: ./.github/actions/test-driver
with:
junit-name: 'be-tests-snowflake-ee'
be-tests-sparksql-ee:
if: github.event.pull_request.draft == false
runs-on: buildjet-2vcpu-ubuntu-2004
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment