Skip to content

Commit

Permalink
Add virtual env
Browse files Browse the repository at this point in the history
Signed-off-by: Wei-Chun, Chang <wcchang@infuseai.io>
  • Loading branch information
wcchang1115 committed May 16, 2024
1 parent 8767085 commit bae174e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/recce-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:
- name: Install Recce
run: |
source $(poetry env info --path)/bin/activate
pip install recce-nightly
- name: Add packages.yml file
Expand All @@ -50,6 +51,7 @@ jobs:
- name: Prepare dbt Base environment
run: |
source $(poetry env info --path)/bin/activate
git checkout ${{ github.event.pull_request.base.sha }}
dbt deps
dbt seed --target ${{ env.DBT_BASE_TARGET }} --target-path target-base
Expand All @@ -60,6 +62,7 @@ jobs:

- name: Prepare dbt Current environment
run: |
source $(poetry env info --path)/bin/activate
git checkout ${{ github.event.pull_request.head.sha }}
dbt deps
dbt seed --target ${{ env.DBT_CURRENT_TARGET}}
Expand All @@ -70,6 +73,7 @@ jobs:

- name: Run Recce CI
run: |
source $(poetry env info --path)/bin/activate
recce run
- name: Archive Recce State File
Expand All @@ -82,6 +86,7 @@ jobs:
- name: Prepare Recce Summary
id: recce-summary
run: |
source $(poetry env info --path)/bin/activate
recce summary recce_state.json > recce_summary.md
cat recce_summary.md >> $GITHUB_STEP_SUMMARY
echo '${{ env.NEXT_STEP_MESSAGE }}' >> recce_summary.md
Expand Down

0 comments on commit bae174e

Please sign in to comment.