-
Notifications
You must be signed in to change notification settings - Fork 6
41 lines (36 loc) · 1.05 KB
/
show_changed_models.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: Show Changed Models
on:
push:
branches: main
pull_request_target:
branches: main
env:
SYSTEM_SNOWFLAKE_USER: ${{ secrets.SYSTEM_SNOWFLAKE_USER }}
SYSTEM_SNOWFLAKE_PASSWORD: ${{ secrets.SYSTEM_SNOWFLAKE_PASSWORD }}
SYSTEM_SNOWFLAKE_ROLE: ${{ secrets.SYSTEM_SNOWFLAKE_ROLE }}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v2
with:
python-version: '3.11'
- name: Check out current branch
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Set up dependencies
run: |
pip install pip==23.1.2
pip install pip-tools==6.13.0
pip install -r requirements.txt
- name: Download manifest.json
run: |
wget https://artemis-xyz.github.io/dbt/manifest.json
- name: Show results of changed models
run: |
dbt deps
source dbt_scripts/show_changed.sh