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

FieldRequiredDefaultDescription
db-useryesThe database user
db-passwordyesThe database password
accountyesAssociated Snowflake account
warehouseyesAssociated Snowflake warehouse
rolenoOptional Snowflake role
databasenoOptional Snowflake database
schemanoOptional 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