Skip to content

Commit

Permalink
Fix actions
Browse files Browse the repository at this point in the history
  • Loading branch information
kaarthik108 committed Sep 23, 2023
1 parent 76609a2 commit ec59688
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/snowflake_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,13 @@ jobs:
with:
python-version: "3.10"

# Install Poetry
- name: Install Poetry
run: |
curl -sSL https://install.python-poetry.org | python3 -
# Install project dependencies using Poetry
- name: Install dependencies
run: |
poetry install
poetry install --develop snowdev
- name: Deploy to Snowflake
run: |
Expand All @@ -48,16 +46,16 @@ jobs:
component_type=${dir%/}
case $component_type in
task)
snowdev deploy --task $dir || continue
poetry run snowdev deploy --task $dir || continue
;;
streamlit)
snowdev deploy --streamlit $dir || continue
poetry run snowdev deploy --streamlit $dir || continue
;;
udf)
snowdev deploy --udf $dir || continue
poetry run snowdev deploy --udf $dir || continue
;;
sproc)
snowdev deploy --sproc $dir || continue
poetry run snowdev deploy --sproc $dir || continue
;;
esac
done
Expand Down
2 changes: 1 addition & 1 deletion src/udf/test_new_/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ def fetch_customer_data(session: Session):
return customer_data.to_pandas()

session = get_snowflake_session()
df_customer = fetch_customer_data(session)
df_customer = fetch_customer_data(session)

0 comments on commit ec59688

Please sign in to comment.