Skip to content

Commit 8577c26

Browse files
committed
ci: better triggering async tests
1 parent 2fc953f commit 8577c26

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

ct.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,10 @@ if [ $TRAVIS_RUST_VERSION = "stable" ] || [ $TRAVIS_RUST_VERSION = "beta" ] || [
2525
cargo test --features spin_threading --target $TARGET
2626
cargo test --features rust_threading --target $TARGET
2727
cargo test --features custom_time,custom_gmtime_r --target $TARGET
28-
# without these, tests marked with tokio::test do not run, but report OK.
29-
cargo test --features=std,threading,tokio,tokio/net,tokio/io-util,tokio/macros,tokio/rt --target $TARGET
30-
# If zlib is installed, test the zlib feature
28+
# test the async support
29+
cargo test --test async_session --features=std,threading,tokio,tokio/net,tokio/io-util,tokio/macros,tokio/rt --target $TARGET
30+
31+
# If zlib is installed, test the zlib feature
3132
if [ -n "$ZLIB_INSTALLED" ]; then
3233
cargo test --features zlib --target $TARGET
3334
fi

0 commit comments

Comments
 (0)