vdev/commands/integration/ci_paths.rs
1use anyhow::Result;
2use clap::Args;
3
4use crate::testing::config::INTEGRATION_TESTS_DIR;
5
6/// Output paths in the repository that are associated with an integration.
7/// If any changes are made to these paths, that integration should be tested.
8#[derive(Args, Debug)]
9#[command()]
10pub struct Cli {}
11
12impl Cli {
13 pub fn exec(&self) -> Result<()> {
14 crate::commands::compose_tests::ci_paths::exec(INTEGRATION_TESTS_DIR)
15 }
16}