Skip to content

Commit

Permalink
test: Run kani if dependencies are updated
Browse files Browse the repository at this point in the history
Currently, we only run kani if a .rs file is modified. We should also
run it if dependencies are changed.

Signed-off-by: Patrick Roy <[email protected]>
  • Loading branch information
roypat authored and bchalios committed Oct 6, 2023
1 parent 4c0669c commit 2bc525b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .buildkite/pipeline_pr.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,9 @@
if any(x.parent.name == "tools" and "release" in x.name for x in changed_files):
steps.append(release_grp)

if not changed_files or any(x.suffix == ".rs" for x in changed_files):
if not changed_files or any(
x.suffix in [".rs", ".toml", ".lock"] for x in changed_files
):
steps.append(kani_grp)

if run_all_tests(changed_files):
Expand Down

0 comments on commit 2bc525b

Please sign in to comment.