Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: enable cargo nextest for ci jobs #2949

Merged
merged 1 commit into from
Jul 12, 2022
Merged

ci: enable cargo nextest for ci jobs #2949

merged 1 commit into from
Jul 12, 2022

Conversation

neil2468
Copy link
Contributor

Current Behaviour

The CI jobs use the default cargo test test runner for Rust tests.

Proposed Changes

Switch to using cargo nextest in CI jobs in order to speed up CI.

The changes should not affect builds on developers' machines; cargo nextest is only used if gradlew test is used and the environemnt variable CI is set to true.

For consistency, all references to the previous version of the ockam-builder Docker image have been updated to the new version (which includes nextest).

Fixes #2924.

Checks

@neil2468 neil2468 requested a review from a team as a code owner July 12, 2022 12:07
@@ -1 +1 @@
FROM ghcr.io/build-trust/ockam-builder@sha256:1930541843c0533f5f862432e2f293590f1832de3210b7c1ef27a1e9a3979650
FROM ghcr.io/build-trust/ockam-builder@sha256:e43dd94652096b03cc472a3c709c7335e8b166cab77b7a7b56f88fa38f3d24cc
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ghcr.io/build-trust/ockam-builder:sha256-e43dd94652096b03cc472a3c709c7335e8b166cab77b7a7b56f88fa38f3d24cc

@mergify mergify bot merged commit 66acbc2 into build-trust:develop Jul 12, 2022
@neil2468 neil2468 deleted the neil2468/enable_cargo_nextest_for_ci_jobs branch July 20, 2022 17:52
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.

Use nextest to run Rust tests in CI
2 participants