Skip to content

Comments

CI: fix tests#420

Merged
Mallets merged 2 commits intomainfrom
fix_zenoh-test-ros2dds
Mar 14, 2025
Merged

CI: fix tests#420
Mallets merged 2 commits intomainfrom
fix_zenoh-test-ros2dds

Conversation

@JEnoch
Copy link
Member

@JEnoch JEnoch commented Mar 13, 2025

Since recent bump of some dependencies, the test were failing with such error:

error: package `zerofrom v0.1.6` cannot be built because it requires rustc 1.81 or newer, while the currently active rustc version is 1.75.0
Either upgrade to rustc 1.81 or newer, or use
cargo update zerofrom@0.1.6 --precise ver
where `ver` is the latest version of `zerofrom` supporting rustc 1.75.0

This PR makes sure that in CI the tests are built with the same Rust compiler and pinned dependencies than the plugin.
For this, it just copies the Cargo.lock and rust-toolchain.toml from root dir.

@JEnoch JEnoch requested a review from Mallets March 13, 2025 17:17
@github-actions
Copy link

PR missing one of the required labels: {'internal', 'documentation', 'enhancement', 'dependencies', 'bug', 'new feature', 'breaking-change'}

@Mallets Mallets merged commit 1dac627 into main Mar 14, 2025
11 of 16 checks passed
@Mallets Mallets deleted the fix_zenoh-test-ros2dds branch March 14, 2025 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants