Commit 2b15081
committed
fix: select packages by C example file rather than binding.gyp
`examples-random-c` was using `PACKAGES_PATTERN='binding.gyp'` to find
candidate packages, but NAPI utility packages (e.g. `@stdlib/napi/argv-*`)
have `binding.gyp` for their Node.js add-on yet ship no `examples/c/*.c`
file. Selecting one of those packages caused `examples-c` to fail, which
made the `random_examples` CI workflow fail on ~53% of runs (16/30).
Changing to `PACKAGES_PATTERN='example.c'` targets the 1538 packages that
actually have a compilable C example in their `examples/c/` directory,
eliminating the false-positive package selection entirely.1 parent f0362db commit 2b15081
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | | - | |
| 116 | + | |
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
| |||
0 commit comments