Skip to content

Commit 4526576

Browse files
committed
Update manual run
Signed-off-by: Timothy Lee <[email protected]>
1 parent 6f12943 commit 4526576

File tree

1 file changed

+8
-11
lines changed

1 file changed

+8
-11
lines changed

.github/workflows/manual.yml

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
pip install -r requirements.txt
2424
pip install 'piperider[duckdb]'
2525
26-
- name: Clone git repo
26+
- name: Clone git repo ${{ github.event.inputs.git_repo_url }}
2727
run: |
2828
url=${{ github.event.inputs.git_repo_url }}
2929
git clone $url git_repo
@@ -32,23 +32,20 @@ jobs:
3232
run: |
3333
python3 read_git_repo.py
3434
35-
- name: Run dbt
35+
- name: Run dbt + PipeRider
3636
run: |
3737
dbt deps
3838
dbt run
39-
dbt test
40-
41-
- name: Run PipeRider
42-
run: |
4339
piperider run --dbt-state target/
4440
4541
- name: Save reports
4642
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 .
5047
5148
- uses: actions/upload-artifact@v3
5249
with:
53-
name: report
54-
path: artifact/
50+
name: report-artifact
51+
path: report.zip

0 commit comments

Comments
 (0)