Skip to content

ci: do not fail report workflow when reporting failed tests #18

ci: do not fail report workflow when reporting failed tests

ci: do not fail report workflow when reporting failed tests #18

Workflow file for this run

name: CI
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
env:
CARGO_TERM_COLOR: always
jobs:
Check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Check formating
run: cargo --locked fmt --check
- name: Check code style
run: cargo --locked clippy --all-features --all-targets -- --deny warnings
Test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install nextest
uses: taiki-e/install-action@nextest
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov
- name: Run tests with coverage
run: cargo --locked llvm-cov nextest
- uses: actions/upload-artifact@v3
if: success() || failure()
with:
name: junit.xml
path: target/nextest/default/junit.xml