Skip to content

Commit

Permalink
install fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ptiurin committed Aug 14, 2024
1 parent 5763b0e commit f67b53c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/jaffle-shop-v2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ jobs:
path: jaffle-shop

- name: Set up Python 3.8
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.8

- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install "dbt-firebolt/.[dev]"
cd dbt-firebolt
python -m pip install dbt-core -e .
- name: Setup database and engine
id: setup
Expand All @@ -41,7 +41,6 @@ jobs:
account: ${{ vars.FIREBOLT_ACCOUNT }}
api-endpoint: "api.staging.firebolt.io"


- name: Run Jaffle Shop test workflow
env:
USER_NAME: ${{ secrets.FIREBOLT_CLIENT_ID_STG_NEW_IDN }}
Expand All @@ -56,5 +55,5 @@ jobs:
AWS_ACCESS_ROLE_ARN: ${{ secrets.AWS_ACCESS_ROLE_ARN }}
DBT_PROFILES_DIR: "../dbt-firebolt/.github/workflows/jaffle_shop"
working-directory: jaffle-shop
run:
../dbt-firebolt/.github/workflows/jaffle_shop/run_test_workflow.sh
run: |
source ../dbt-firebolt/.github/workflows/jaffle_shop/run_test_workflow.sh
2 changes: 1 addition & 1 deletion .github/workflows/jaffle_shop/run_test_workflow.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
set -xe
dbt debug
dbt clean
dbt debug
dbt deps
dbt compile
dbt run-operation stage_external_sources
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ project_urls =
[options]
packages = find_namespace:
install_requires =
dbt-core~=1.6,<1.8
dbt-core~=1.6,<1.7
firebolt-sdk>=1.1.0
pydantic>=0.23
python_requires = >=3.8
Expand Down

0 comments on commit f67b53c

Please sign in to comment.