@@ -30,46 +30,10 @@ jobs:
30
30
run : |
31
31
make load
32
32
33
- - name : Run dbt + PipeRider for main branch
33
+ - name : prepare target/manifest.json (workaround)
34
34
run : |
35
- git fetch
36
- git checkout main
37
35
dbt deps
38
- dbt run
39
- piperider run --dbt-state target/
36
+ dbt compile
40
37
41
- - name : Run dbt + PipeRider for current pull request
42
- run : |
43
- git fetch
44
- git checkout $GITHUB_HEAD_REF
45
- dbt deps
46
- dbt run
47
- piperider run --dbt-state target/
48
-
49
- - name : Generate Comparison reports + Summary
50
- run : |
51
- piperider compare-reports --last
52
- pushd .piperider/comparisons/latest
53
- zip -r comparison-report.zip ./
54
- popd
55
- cp .piperider/comparisons/latest/summary.md comparison-report-summary.md
56
- cp .piperider/comparisons/latest/comparison-report.zip .
57
-
58
- - uses : actions/upload-artifact@v3
59
- with :
60
- name : comparison-report-artifact
61
- path : comparison-report.zip
62
-
63
- - name : Prepare Comparison Summary
64
- run : |
65
- echo "# :bar_chart: Piperider Comparison Summary" > summary.md
66
- cat comparison-report-summary.md >> summary.md
67
- echo -e "\n" >> summary.md
68
- echo "## :paperclip: Generated Comparison Report ZIP" >> summary.md
69
- echo "Find it in the [Github Action Runs Page](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})" >> summary.md
70
-
71
- - name : Create PR Comment
72
- uses : peter-evans/create-or-update-comment@v2.1.0
73
- with :
74
- issue-number : ${{ github.event.number }}
75
- body-file : summary.md
38
+ - name : PipeRider Compare
39
+ uses : InfuseAI/piperider-compare-action@v1
0 commit comments