Skip to content

db: fix tests not working with miri interpreter #2

db: fix tests not working with miri interpreter

db: fix tests not working with miri interpreter #2

Workflow file for this run

name: db_tutorial
on:
push:
paths:
- 'db_tutorial/**'
env:
TERM: xterm
CARGO_TERM_COLOR: always
RUSTFLAGS: -D warnings
RUST_BACKTRACE: 1
defaults:
run:
working-directory: db_tutorial
jobs:
unit-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- run: cargo check
- run: cargo test
ub-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
with:
components: miri
- run: cargo miri setup
- run: cargo miri test