ci: run the Docker Compose test from the workspace build (#7327)

The Docker Compose step ran `cargo nextest run -p ide-host`, which resolves features for ide-host alone and rebuilt about 43 crates the workspace test build had already compiled. It now runs `--workspace` with a filter expression selecting the same single test, so only the src-tauri crate is rebuilt.

Co-authored-by: audichuang <[email protected]>
Цей коміт міститься в:
audichuang authored and GitHub committed 2026-12-05 09:02:30 +08:00
1 джерело 61a4118921
коміт d84cae9525
1 file changed
+3 -2
+3 -2
Переглянути файл
@@ -218,8 +218,9 @@ jobs:
if: runner.os == 'Linux' && runner.environment != 'self-hosted'
run: |
docker pull busybox:latest
cargo nextest run -p ide-host --test remote_daemon --run-ignored only \
-E 'test(=compose_service_survives_disconnect_and_is_removed_on_stop)'
# --workspace, not -p ide-host: -p would rebuild instead of reusing the test build above.
cargo nextest run --workspace --run-ignored only \
-E 'package(=ide-host) & binary(=remote_daemon) & test(=compose_service_survives_disconnect_and_is_removed_on_stop)'
# nextest skips doctests; ide-command's are its compile-fail tests.
- if: runner.os == 'Linux'
run: cargo test --doc -p ide-command