Commit 679b61d
committed
.github: workflows: Adopt cargo-nextest and add gstreamer plugins-bad
Switch CI from cargo test to cargo nextest run for parallel test
execution with per-test timeout enforcement.
Changes to .github/workflows/rust.yml:
- Add gstreamer1.0-plugins-bad to apt dependencies (required by
some integration test pipelines that use elements from plugins-bad)
- Install nextest via taiki-e/install-action@nextest
- Replace `cargo test --verbose --locked` with
`cargo nextest run --verbose --no-fail-fast --locked`
Add .config/nextest.toml with:
- 120s slow-timeout with terminate-after=2 (kills hung tests)
- A `camera` profile with threads-required=1 override for
remote_integration:: tests, which share a single MCM instance
on the remote host and must run sequentially
(usage: cargo nextest run --profile camera)1 parent cd46edd commit 679b61d
2 files changed
Lines changed: 20 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
90 | 94 | | |
91 | 95 | | |
92 | | - | |
| 96 | + | |
0 commit comments