From ad3c7ef6d911f8ef29c7f85730c84fbf36a6076e Mon Sep 17 00:00:00 2001 From: Christian Legnitto Date: Mon, 20 Jan 2020 23:04:00 -0800 Subject: [PATCH] Add tests with async features enabled to CI --- Makefile.toml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Makefile.toml b/Makefile.toml index b54d4491..09b7b381 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -87,3 +87,12 @@ condition = { env_set = [ "RELEASE_LEVEL" ] } description = "Run `cargo-release` for every crate, but only make changes locally" command = "cargo-release" args = ["release", "--config", "${CARGO_MAKE_WORKING_DIRECTORY}/../_build/release.toml", "--no-confirm", "--skip-publish", "--skip-push", "--skip-tag", "${RELEASE_LEVEL}"] + +[tasks.test-verbose] +dependencies = ["test-async-verbose"] + +[tasks.test-async-verbose] +description = "Runs cargo test with async feature" +category = "Test" +command = "cargo" +args = ["test", "--verbose", "--features", "async", "@@split(CARGO_MAKE_CARGO_BUILD_TEST_FLAGS, )"] \ No newline at end of file