Skip to content

Commit

Permalink
bump slim CI GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
luutuankiet committed Nov 24, 2024
1 parent 61cf8dd commit 4ad04d1
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/slim_CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ on:
push:
branches-ignore: [ "main", "master"]

env:
TARGET_SCHEMA: dev

jobs:
validate_dbt_models:
Expand Down Expand Up @@ -67,9 +65,19 @@ jobs:
- name: Install npm dependencies
run: npm install -g "@lightdash/cli@${{ steps.version.outputs.value }}" || npm install -g @lightdash/cli@latest

- uses: jwalton/gh-find-current-pr@master
id: findPr
# This will echo "Your PR is 7", or be skipped if there is no current PR.
- run: echo 'PR="${PR}"' >> $GITHUB_ENV
if: success() && steps.findPr.outputs.number
env:
PR: ${{ steps.findPr.outputs.pr }}


- name: validate dbt models
run: dbt build
run: dbt build --target ci --args "$arg_PR"
env:
arg_PR: "{'schema_name': '$PR'}"


- name: validate LD
Expand Down

0 comments on commit 4ad04d1

Please sign in to comment.