From f11121dcf8b5c1bcc180048008e313b6a356b00c Mon Sep 17 00:00:00 2001 From: ThetaDev Date: Sun, 10 Nov 2024 00:12:21 +0100 Subject: [PATCH] ci: move test report to main dir and upload single artifact --- .forgejo/workflows/ci.yaml | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/.forgejo/workflows/ci.yaml b/.forgejo/workflows/ci.yaml index 2eecb18..d83d2c0 100644 --- a/.forgejo/workflows/ci.yaml +++ b/.forgejo/workflows/ci.yaml @@ -36,20 +36,18 @@ jobs: RUSTYPIPE_CACHE: "${{ secrets.RUSTYPIPE_CACHE }}" YT_AUTHENTICATED: "${{ github.event_name != 'pull_request' }}" # no access to secrets for PRs + - name: Move test report + if: always() + run: mv target/nextest/ci/junit.xml junit.xml || true + - name: 💌 Upload test report if: always() uses: https://code.forgejo.org/forgejo/upload-artifact@v4 with: name: test - path: target/nextest/ci/junit.xml - - - name: 💌 Upload RustyPipe report - if: always() - uses: https://code.forgejo.org/forgejo/upload-artifact@v4 - with: - name: test - path: rustypipe_reports - if-no-files-found: ignore + path: | + junit.xml + rustypipe_reports - name: 🔗 Artifactview PR comment if: ${{ always() && github.event_name == 'pull_request' }}