ci: upload test reports
This commit is contained in:
parent
2c9402aff6
commit
75b6da7649
1 changed files with 10 additions and 3 deletions
|
|
@ -10,8 +10,6 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: 📦 Checkout repository
|
- name: 📦 Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
|
||||||
fetch-depth: 0
|
|
||||||
|
|
||||||
- name: 🦀 Setup Rust cache
|
- name: 🦀 Setup Rust cache
|
||||||
uses: https://github.com/Swatinem/rust-cache@v2
|
uses: https://github.com/Swatinem/rust-cache@v2
|
||||||
|
|
@ -22,4 +20,13 @@ jobs:
|
||||||
run: cargo clippy --all --features=rss -- -D warnings
|
run: cargo clippy --all --features=rss -- -D warnings
|
||||||
|
|
||||||
- name: 🧪 Test
|
- 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