ci: upload test reports
This commit is contained in:
parent
da1d1bd2a0
commit
bb4c92c70b
1 changed files with 10 additions and 3 deletions
|
|
@ -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/*
|
||||
|
|
|
|||
Reference in a new issue