File tree Expand file tree Collapse file tree 1 file changed +8
-11
lines changed Expand file tree Collapse file tree 1 file changed +8
-11
lines changed Original file line number Diff line number Diff line change 23
23
pip install -r requirements.txt
24
24
pip install 'piperider[duckdb]'
25
25
26
- - name : Clone git repo
26
+ - name : Clone git repo ${{ github.event.inputs.git_repo_url }}
27
27
run : |
28
28
url=${{ github.event.inputs.git_repo_url }}
29
29
git clone $url git_repo
@@ -32,23 +32,20 @@ jobs:
32
32
run : |
33
33
python3 read_git_repo.py
34
34
35
- - name : Run dbt
35
+ - name : Run dbt + PipeRider
36
36
run : |
37
37
dbt deps
38
38
dbt run
39
- dbt test
40
-
41
- - name : Run PipeRider
42
- run : |
43
39
piperider run --dbt-state target/
44
40
45
41
- name : Save reports
46
42
run : |
47
- report_path=$(readlink -f .piperider/outputs/latest)
48
- mkdir -p artifact
49
- cp -r $report_path artifact
43
+ pushd .piperider/outputs/latest
44
+ zip -r report.zip ./
45
+ popd
46
+ cp .piperider/outputs/latest/report.zip .
50
47
51
48
- uses : actions/upload-artifact@v3
52
49
with :
53
- name : report
54
- path : artifact/
50
+ name : report-artifact
51
+ path : report.zip
You can’t perform that action at this time.
0 commit comments