дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-12-05 17:47:08 +02:00
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]>
Цей коміт міститься в:
1 джерело
61a4118921
коміт
d84cae9525
1 file changed
+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
|
||||
|
||||
Reference in new issue
Заблокувати користувача