File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed
Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change 3535 - name : Check clippy (No features)
3636 run : cargo ws exec cargo clippy --no-default-features --all-targets
3737
38+ test :
39+ name : Test
40+ runs-on : ubuntu-latest
41+ steps :
42+ - uses : actions/checkout@v6
43+ - uses : dtolnay/rust-toolchain@stable
44+ - uses : Swatinem/rust-cache@v2
45+ with :
46+ key : test
47+ - name : Run tests (all features)
48+ run : cargo test --all-features
49+ - name : Run tests (no default features)
50+ run : cargo test --no-default-features
51+
52+ miri :
53+ name : Miri
54+ runs-on : ubuntu-latest
55+ env :
56+ # Catch pointer bugs and invalid memory access.
57+ # Ignore errors from system calls that Miri doesn't support yet.
58+ MIRIFLAGS : -Zmiri-strict-provenance -Zmiri-isolation-error=warn
59+ steps :
60+ - uses : actions/checkout@v6
61+ - uses : dtolnay/rust-toolchain@nightly
62+ with :
63+ components : miri, rust-src
64+ - uses : Swatinem/rust-cache@v2
65+ with :
66+ key : miri
67+ - name : Set up Miri
68+ run : cargo +nightly miri setup
69+ - name : Run tests under Miri
70+ run : cargo +nightly miri test -p oscars
71+
3872 docs :
3973 name : Documentation
4074 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments