From eee96fbb18012f22aeedf824bba662a4db9d01c2 Mon Sep 17 00:00:00 2001 From: Radu Marias Date: Tue, 17 Dec 2024 07:58:08 +0200 Subject: [PATCH] Update build_and_tests_reusable.yaml Signed-off-by: Radu Marias --- .../workflows/build_and_tests_reusable.yaml | 24 +++++++++++++------ 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build_and_tests_reusable.yaml b/.github/workflows/build_and_tests_reusable.yaml index f3f7bd0..562673c 100644 --- a/.github/workflows/build_and_tests_reusable.yaml +++ b/.github/workflows/build_and_tests_reusable.yaml @@ -51,13 +51,17 @@ jobs: -A clippy::type_complexity shell: bash - - name: doc - run: cargo doc --workspace --all-features --no-deps - - name: tests if: matrix.os != 'windows-latest' run: cargo test --release --all --all-features -- --skip keyring + - name: bench + if: matrix.os != 'windows-latest' + run: cargo bench --workspace --all-targets --all-features -- --skip keyring + + - name: doc + run: cargo doc --workspace --all-features --no-deps + - name: test package if: matrix.os == 'ubuntu-latest' run: | @@ -92,13 +96,19 @@ jobs: -A clippy::type_complexity shell: bash - - name: java-bridge doc + - name: java-bridge tests + if: matrix.os != 'windows-latest' run: | cd java-bridge - cargo doc --workspace --all-features --no-deps + cargo test --release --all --all-features - - name: java-bridge tests + - name: bench if: matrix.os != 'windows-latest' run: | cd java-bridge - cargo test --release --all --all-features + cargo bench --workspace --all-targets --all-features + + - name: java-bridge doc + run: | + cd java-bridge + cargo doc --workspace --all-features --no-deps