Skip to content

Commit 729e4d6

Browse files
committed
try pythonpath
1 parent 4608c8d commit 729e4d6

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/deploy-dagster-cloud.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,9 @@ jobs:
159159
if: steps.prerun.outputs.result != 'skip' && github.event_name == 'push'
160160
run: echo "DAGSTER_CLOUD_DEPLOYMENT_NAME=data-eng-prod" >> $GITHUB_ENV
161161

162+
- name: Set PYTHONPATH
163+
run: echo "PYTHONPATH=$PYTHONPATH:$(pwd)" >> $GITHUB_ENV
164+
162165
- name: Prepare dbt project
163166
if: steps.prerun.outputs.result != 'skip' && steps.changed-files.outputs.hooli_data_eng_any_changed == 'true'
164167
run: |

hooli_data_eng/dbt/resources.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import os
22
from pathlib import Path
33
from dagster_dbt import DbtProject, DbtCliResource
4-
from .utils import get_env
4+
from hooli_data_eng.utils import get_env
55

66

77
dbt_project_path = Path(__file__).parent.parent.parent.joinpath("dbt_project")

0 commit comments

Comments
 (0)