Skip to content

Don't check state.is_tracing() in deref, clone, new and new_cyclic #174

Don't check state.is_tracing() in deref, clone, new and new_cyclic

Don't check state.is_tracing() in deref, clone, new and new_cyclic #174

Workflow file for this run

name: Miri
on: [push, pull_request]
env:
CARGO_TERM_COLOR: always
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
jobs:
test-with-miri:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# From Miri documentation: https://github.com/rust-lang/miri#running-miri-on-ci
- name: Install Miri
run: |
rustup toolchain install nightly --component miri
rustup override set nightly
cargo miri setup
- name: Run tests (no features)
run: cargo miri test --no-default-features -F pedantic-debug-assertions --verbose --workspace
- name: Run tests (default features)
run: cargo miri test -F pedantic-debug-assertions --verbose --workspace
- name: Run tests (feature full)
run: cargo miri test -F full,pedantic-debug-assertions --verbose --workspace
- name: Run tests (every feature)
run: cargo miri test --all-features --verbose --workspace