Skip to content

Commit b6f9116

Browse files
authored
ci: move Kani options to Cargo.toml (#2116)
1 parent 8740d2b commit b6f9116

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

.github/workflows/ci.yml

-1
Original file line numberDiff line numberDiff line change
@@ -708,7 +708,6 @@ jobs:
708708
uses: model-checking/kani-github-action@v1.1
709709
with:
710710
working-directory: ${{ matrix.crate }}
711-
args: --tests -Z stubbing
712711

713712
dhat:
714713
runs-on: ubuntu-latest

quic/s2n-quic-core/Cargo.toml

+4
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,7 @@ s2n-codec = { path = "../../common/s2n-codec", features = ["testing"] }
5757

5858
[target.'cfg(loom)'.dev-dependencies]
5959
loom = { version = "0.7", features = ["checkpoint", "futures"] }
60+
61+
[package.metadata.kani]
62+
flags = { tests = true }
63+
unstable = { stubbing = true }

quic/s2n-quic-platform/Cargo.toml

+4
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,7 @@ insta = { version = "1", features = ["json"] }
4444
s2n-quic-core = { path = "../s2n-quic-core", features = ["testing"] }
4545
tokio = { version = "1", features = ["full"] }
4646
tracing = { version = "0.1" }
47+
48+
[package.metadata.kani]
49+
flags = { tests = true }
50+
unstable = { stubbing = true }

0 commit comments

Comments
 (0)