From 281e9496c8377c7d4d8f1226be06c641ec779fcc Mon Sep 17 00:00:00 2001 From: Asmir Avdicevic Date: Thu, 26 Oct 2023 12:45:41 +0000 Subject: [PATCH] test crates individually --- .github/workflows/ci.yml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c819b6ca25d..ccfdbe9a417 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -66,17 +66,29 @@ jobs: RUST_LOG: ${{ runner.debug && 'DEBUG' || 'INFO'}} - name: tests (no features) - run: cargo test --workspace --no-default-features --lib --bins --tests + run: | + for i in ${CRATES_LIST//,/ } + do + cargo test -p $i --no-default-features --lib --bins --tests + done env: RUST_LOG: ${{ runner.debug && 'DEBUG' || 'INFO'}} - name: tests (default features) - run: cargo test --workspace --lib --bins --tests + run: | + for i in ${CRATES_LIST//,/ } + do + cargo test -p $i --lib --bins --tests + done env: RUST_LOG: ${{ runner.debug && 'DEBUG' || 'INFO'}} - name: doctests - run: cargo test --workspace --all-features --doc + run: | + for i in ${CRATES_LIST//,/ } + do + cargo test -p $i --all-features --doc + done env: RUST_LOG: ${{ runner.debug && 'DEBUG' || 'INFO'}}