ci: run check-rust on PRs that touch the onboarding sample CSVs (#461)
fs_commands.rs compiles src/__fixtures__/samples/exemple-desjardins.csv and exemple-tangerine.csv into the binary with include_str!, outside the paths of check-rust.yml: a PR that renamed, moved or deleted one broke cargo check without any Rust CI on it. The whole directory is listed; index.ts, read by vitest only, comes along. Refs #461 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
ae4b4124c9
commit
5609dbd181
1 changed files with 7 additions and 0 deletions
|
|
@ -20,6 +20,13 @@ on:
|
|||
# (rustflags, linker, target dir) would change the Rust build, and an
|
||||
# exact-path entry would let it skip Rust CI unnoticed.
|
||||
- '.cargo/**'
|
||||
# Outside src-tauri/ but compiled into the binary: include_str! in
|
||||
# src-tauri/src/commands/fs_commands.rs embeds exemple-desjardins.csv and
|
||||
# exemple-tangerine.csv from this directory (#461), so a PR that renames,
|
||||
# moves or deletes one breaks cargo check. The whole directory: index.ts,
|
||||
# read by vitest only, triggers a needless run, which costs minutes, while
|
||||
# a skipped one would leave the break to the Monday run or to /release.
|
||||
- 'src/__fixtures__/samples/**'
|
||||
# The weekly run is what feeds the cache to pull requests (#234). The runner
|
||||
# (forgejo-runner v12.7.0) isolates what a pull_request run writes to that
|
||||
# PR's ref: later pushes to the same PR read it back, other PRs never see it.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue