From d940e08b025642f3644f84af9fded5676411eaf6 Mon Sep 17 00:00:00 2001 From: Kyle Fleming Date: Thu, 30 Jul 2020 22:56:02 -0700 Subject: [PATCH] Specify --tests when calling cargo test --- .circleci/config.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 754e53201a..a701aae4e0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -3,7 +3,8 @@ # Notes: # * The new resolver has a bug that causes packages to select features non-deterministically under # certain circumstances. To work around this, `--target` must be specified when using cargo. This -# can be removed once the bug is fixed. +# can be removed once the bug is fixed. Similarly, `--tests` must be specified when using +# `cargo test` so that non-test profile builds don't bleed over. # See: [MC-1731] and https://github.com/rust-lang/cargo/issues/8549 version: 2.1 @@ -265,7 +266,7 @@ commands: parameters: test_command: type: string - default: cargo test --frozen --target "$HOST_TARGET_TRIPLE" + default: cargo test --frozen --target "$HOST_TARGET_TRIPLE" --tests steps: - run: name: Run all tests