Skip to content

update speed calculation based on STL comparison #1264

update speed calculation based on STL comparison

update speed calculation based on STL comparison #1264

Workflow file for this run

name: pre-commit
on:
pull_request:
push:
branches: [main]
env:
DBT_PROFILES_DIR: ci
PRIVATE_KEY: ${{ SECRETS.SNOWFLAKE_PRIVATE_KEY_DEV }}
SNOWFLAKE_USER: ${{ SECRETS.SNOWFLAKE_USER_DEV }}
SNOWFLAKE_ACCOUNT: ${{ SECRETS.SNOWFLAKE_ACCOUNT }}
SNOWFLAKE_PRIVATE_KEY_PATH: /tmp/private_key.p8
defaults:
run:
shell: bash -l {0}
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# TODO: once we are on dbt-snowflake 1.5, no need to pipe to a file, we can
# just use $SNOWFLAKE_PRIVATE_KEY
- name: Set up private key
run: echo "$PRIVATE_KEY" > $SNOWFLAKE_PRIVATE_KEY_PATH
- uses: actions/setup-python@v4
with:
python-version: "3.10"
- uses: snok/install-poetry@v1
with:
virtualenvs-create: false
- name: Install dependencies
run: |
poetry install
- uses: pre-commit/[email protected]