Merge pull request #10239 from dotCooCoo/fix/plugins-whole-tree-reads

CI: declare the files each crate reads in other crates, for test selection
This commit is contained in:
.CooCoo authored and GitHub committed 2026-11-30 14:05:36 -08:00
commit f4f42de9d8
7 files changed
+42

No files matched your search

+11
View File
@@ -48,3 +48,14 @@ objc2-core-text = { version = "0.3", default-features = false, features = ["std"
tempfile = "3"
vectorcraft-testkit = { workspace = true }
serde_json = { workspace = true }
# The files of other crates that this crate compiles or its tests read, for CI's test selection.
[package.metadata.craft]
reads = [
"apps/vectorcraft/src/mac_fonts.rs",
"apps/vectorcraft/src/prefs_dir.rs",
"apps/vectorcraft/src/profile.rs",
"apps/vectorcraft/src/system_fonts.rs",
"apps/vectorcraft/src/windows_cores.rs",
"crates/plugins/tests/fixtures/desaturate.wasm",
]
+4
View File
@@ -24,3 +24,7 @@ craft-image-codecs = { workspace = true }
# tests/it's `import_limits`, `outline_limits` and `text` modules need `synth`, also when this crate
# is tested without vectorcraft-engine (`cargo xtask ci shard`).
vectorcraft-affinity = { path = ".", features = ["synth"] }
# The files of other crates that this crate's tests compile or read, for CI's test selection.
[package.metadata.craft]
reads = ["xtask/affinity-corpus.sha256", "xtask/src/sha256.rs"]
+11
View File
@@ -144,3 +144,14 @@ ruzstd = { workspace = true }
vectorcraft-js = { workspace = true }
# A bundled font's own glyph boxes, for the glyph bounds tests.
skrifa = { workspace = true }
# The files of other crates that this crate compiles or its tests read, for CI's test selection.
[package.metadata.craft]
reads = [
"crates/affinity/tests/support/corpus.rs",
"crates/affinity/tests/support/text_fixture.rs",
"crates/apischema/src/conformance.rs",
"crates/plugins/tests/fixtures/desaturate.wasm",
"xtask/affinity-corpus.sha256",
"xtask/src/sha256.rs",
]
+4
View File
@@ -33,3 +33,7 @@ craft-image-codecs = { workspace = true }
vectorcraft-testkit = { workspace = true }
proptest = { workspace = true }
socket2 = { workspace = true }
# The files of other crates that this crate's tests compile, for CI's test selection.
[package.metadata.craft]
reads = ["crates/apischema/src/conformance.rs"]
+4
View File
@@ -44,3 +44,7 @@ vectorcraft-plugins = { path = ".", features = ["test-steady"] }
[features]
# `vectorcraft_plugins::steady` for other crates' tests (dev-dependencies only).
test-steady = []
# For CI's test selection: `tests/grant_sites.rs` reads the sources of every crate.
[package.metadata.craft]
reads-every-member = true
+4
View File
@@ -110,3 +110,7 @@ wat = { workspace = true }
[build-dependencies]
serde_json = { workspace = true }
toml = "1"
# The files of other crates that this crate's tests read, for CI's test selection.
[package.metadata.craft]
reads = ["crates/engine/src/cmd/addons/cutting/banner.rs", "crates/plugins/tests/fixtures/desaturate.wasm"]
+4
View File
@@ -10,3 +10,7 @@ workspace = true
[dependencies]
serde_json = { workspace = true }
# The files of other crates that this crate compiles, for CI's test selection.
[package.metadata.craft]
reads = ["crates/text/build/web_fonts.rs"]