extension_ci: Improve job orchestration (#49407)
This fixes an issue where some changes that should trigger more checks would go unnoticed. Release Notes: - N/A
This commit is contained in:
1 parent
d21248c9de
commit
46dd9da60b
2 files changed
+3
-2
No files matched your search
@@ -44,7 +44,7 @@ jobs:
|
||||
}
|
||||
|
||||
check_pattern "check_rust" '^(Cargo.lock|Cargo.toml|.*\.rs)$' -qP
|
||||
check_pattern "check_extension" '^.*\.scm$' -qP
|
||||
check_pattern "check_extension" '^(extension\.toml|.*\.scm)$' -qP
|
||||
outputs:
|
||||
check_rust: ${{ steps.filter.outputs.check_rust }}
|
||||
check_extension: ${{ steps.filter.outputs.check_extension }}
|
||||
|
||||
@@ -17,7 +17,8 @@ const EXTENSION_RUST_TARGET: &str = "wasm32-wasip2";
|
||||
// This is used by various extensions repos in the zed-extensions org to run automated tests.
|
||||
pub(crate) fn extension_tests() -> Workflow {
|
||||
let should_check_rust = PathCondition::new("check_rust", r"^(Cargo.lock|Cargo.toml|.*\.rs)$");
|
||||
let should_check_extension = PathCondition::new("check_extension", r"^.*\.scm$");
|
||||
let should_check_extension =
|
||||
PathCondition::new("check_extension", r"^(extension\.toml|.*\.scm)$");
|
||||
|
||||
let orchestrate =
|
||||
orchestrate_without_package_filter(&[&should_check_rust, &should_check_extension]);
|
||||
|
||||
Reference in new issue
Block a user