Skip to content

fix: added error if no tokens are valid when starting in strict mode … #1399

fix: added error if no tokens are valid when starting in strict mode …

fix: added error if no tokens are valid when starting in strict mode … #1399

---
name: Run tests with coverage on code
on:
push:
branches:
- main
paths:
- '**.rs'
- '**.toml'
pull_request:
branches:
- main
paths:
- '**.rs'
- '**.toml'
jobs:
tarpaulin:
runs-on: ubuntu-latest
name: Run test coverage using Tarpaulin
env:
CARGO_TERM_COLOR: always
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install rust
run: |
rustup set auto-self-update disable
rustup toolchain install stable --profile minimal
rustup show
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- name: Install required cargo packages for reporting test coverage
run: cargo install cargo-tarpaulin
- name: Run Tarpaulin (Reporting to coveralls)
run: |
cargo tarpaulin --all-features --coveralls ${{ secrets.COVERALLS_KEY }} --skip-clean