From 41649f5adf38028f76eb111b4ac8f07f4b3db0ef Mon Sep 17 00:00:00 2001 From: popcorny <celu@infuseai.io> Date: Wed, 5 Jun 2024 15:25:25 +0800 Subject: [PATCH 1/3] Add recce cloud compatible output Signed-off-by: popcorny <celu@infuseai.io> --- .github/workflows/recce_ci.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/recce_ci.yml b/.github/workflows/recce_ci.yml index 74ee87580..bafd73da3 100644 --- a/.github/workflows/recce_ci.yml +++ b/.github/workflows/recce_ci.yml @@ -20,8 +20,6 @@ jobs: - name: Install dependencies run: | pip install -r requirements.txt - - name: Install Recce - run: | pip install recce - name: Prepare dbt Base environment run: | From 37646e0a619c1ca94c20f40e316110b1be2a111f Mon Sep 17 00:00:00 2001 From: popcorny <celu@infuseai.io> Date: Wed, 5 Jun 2024 15:41:14 +0800 Subject: [PATCH 2/3] use the comment tag Signed-off-by: popcorny <celu@infuseai.io> --- .github/workflows/recce_ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/recce_ci.yml b/.github/workflows/recce_ci.yml index bafd73da3..ed11802e2 100644 --- a/.github/workflows/recce_ci.yml +++ b/.github/workflows/recce_ci.yml @@ -89,3 +89,4 @@ jobs: uses: thollander/actions-comment-pull-request@v2 with: filePath: recce_summary.md + comment_tag: recce From d11b8cc55e3dd5b915a56f5b2797489c27b775de Mon Sep 17 00:00:00 2001 From: popcorny <celu@infuseai.io> Date: Wed, 5 Jun 2024 16:14:18 +0800 Subject: [PATCH 3/3] Refine the workflow file Signed-off-by: popcorny <celu@infuseai.io> --- .github/workflows/dbt_base.yml | 3 ++- .github/workflows/recce_ci.yml | 8 +++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dbt_base.yml b/.github/workflows/dbt_base.yml index cf68d5650..5e65c2cc5 100644 --- a/.github/workflows/dbt_base.yml +++ b/.github/workflows/dbt_base.yml @@ -35,7 +35,8 @@ jobs: name: duckdb path: jaffle_shop.duckdb - - uses: actions/upload-artifact@v4 + - name: Upload DBT Artifacts + uses: actions/upload-artifact@v4 with: name: target path: target/ diff --git a/.github/workflows/recce_ci.yml b/.github/workflows/recce_ci.yml index ed11802e2..62d4b6df6 100644 --- a/.github/workflows/recce_ci.yml +++ b/.github/workflows/recce_ci.yml @@ -46,7 +46,13 @@ jobs: run: | recce run --github-pull-request-url ${{ github.event.pull_request.html_url }} - - name: Archive Recce State File + - name: Upload DBT Artifacts + uses: actions/upload-artifact@v4 + with: + name: target + path: target/ + + - name: Upload Recce State File uses: actions/upload-artifact@v4 id: recce-artifact-uploader with: