diff options
author | rtkay123 <dev@kanjala.com> | 2025-08-18 17:08:40 +0200 |
---|---|---|
committer | rtkay123 <dev@kanjala.com> | 2025-08-18 17:08:40 +0200 |
commit | b97c49396fe983bc2d75d4ae6d96c8520803012f (patch) | |
tree | 92b5087bcea154c39c6c078420cc113c465fdfd7 | |
parent | 566e784b52ca10008dd5e07d33e0f18851cfb1ec (diff) | |
download | warden-b97c49396fe983bc2d75d4ae6d96c8520803012f.tar.bz2 warden-b97c49396fe983bc2d75d4ae6d96c8520803012f.zip |
ci(test): upload junit
-rw-r--r-- | .github/workflows/ci.yaml | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 56cfdda..8183a72 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -175,14 +175,26 @@ jobs: # # cargo llvm-cov --no-report nextest # # cargo llvm-cov --no-report --doc # # cargo llvm-cov report --doctests --lcov --output-path lcov.info + - name: Create junit.xml (nextest) + run: | + mkdir -p .config + echo '[profile.ci.junit]' > .config/nextest.toml + echo 'path = "junit.xml"' >> .config/nextest.toml - name: cargo llvm-cov - run: cargo llvm-cov nextest --workspace --locked --all-features --lcov --output-path lcov.info + run: cargo llvm-cov nextest --profile ci --workspace --locked --all-features --lcov --output-path lcov.info - name: Upload to codecov.io uses: codecov/codecov-action@v5 with: fail_ci_if_error: true token: ${{ secrets.CODECOV_TOKEN }} slug: ${{ github.repository }} + - uses: codecov/test-results-action@v1 + if: ${{ !cancelled() }} + with: + fail_ci_if_error: true + files: ./target/nextest/ci/junit.xml + token: ${{ secrets.CODECOV_TOKEN }} + verbose: true - name: Stop stack if: always() run: | |