ci: move test report to main dir and upload single artifact

This commit is contained in:
ThetaDev 2024-11-10 00:12:21 +01:00
parent 14f4e00a80
commit f11121dcf8
No known key found for this signature in database
GPG key ID: E319D3C5148D65B6

View file

@ -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' }}