Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 6 additions & 2 deletions tests/runtime-vocabulary-smoke.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ function datamachine_runtime_vocab_relative_path( string $root, string $path ):
}

function datamachine_runtime_vocab_is_excluded_dir( string $relative_path ): bool {
if ( 'vendor/wordpress/agents-api/tests' === $relative_path || str_starts_with( $relative_path, 'vendor/wordpress/agents-api/tests/' ) ) {
return false;
}

$excluded_roots = array(
'.git',
'.datamachine',
Expand Down Expand Up @@ -69,8 +73,8 @@ function datamachine_runtime_vocab_is_allowed_file( string $relative_path ): boo
return true;
}

// CI workflow files and tests are source-control harness config, not runtime logic.
return str_starts_with( $relative_path, '.github/workflows/' ) || str_starts_with( $relative_path, 'tests/' );
// CI workflow files are source-control harness config, not runtime logic.
return str_starts_with( $relative_path, '.github/workflows/' );
}

$host_specific_patterns = array(
Expand Down
Loading