Snowflake
The Snowflake action depends on Snowflake's python connector library. You can find complete documentation about the library in the Snowflake docs here (opens in a new tab) with more detail about the connector here (opens in a new tab).
Fields
Field | Required | Default | Description |
---|---|---|---|
db-user | yes | The database user | |
db-password | yes | The database password | |
account | yes | Associated Snowflake account | |
warehouse | yes | Associated Snowflake warehouse | |
role | no | Optional Snowflake role | |
database | no | Optional Snowflake database | |
schema | no | Optional snowflake schema |
Example
on:
- pull_request
name: Snowflake
jobs:
test_snowflake:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Run Grai Action
uses: grai-io/grai-actions/snowflake@master
with:
namespace: my_apps_grai_namespace
api-key: my_grai_api_key
action: tests
source-name: prod-db
grai-api-url: https://api.grai.io
db-user: my-user
db-password: my-password
account: my-account
warehouse: my-warehouse