ci: upload test reports

This commit is contained in:
ThetaDev 2024-06-16 02:23:22 +02:00
parent da1d1bd2a0
commit bb4c92c70b
No known key found for this signature in database
GPG key ID: E319D3C5148D65B6

View file

@ -10,8 +10,6 @@ jobs:
steps:
- name: 📦 Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: 🦀 Setup Rust cache
uses: https://github.com/Swatinem/rust-cache@v2
@ -22,4 +20,13 @@ jobs:
run: cargo clippy --all --features=rss -- -D warnings
- name: 🧪 Test
run: cargo test --features=rss --workspace
run: cargo nextest run --config-file ~/.config/nextest.toml --profile ci --features rss --workspace
- name: 💌 Upload test report
if: always()
uses: https://code.forgejo.org/forgejo/upload-artifact@v4
with:
name: test
path: |
target/nextest/ci/junit.xml
rustypipe_reports/*