From 79fafc185db40bcd83e4804ccf9bb2b63935c455 Mon Sep 17 00:00:00 2001 From: Radu Marias Date: Tue, 17 Dec 2024 20:48:13 +0200 Subject: [PATCH] Update build_and_tests_reusable.yaml Signed-off-by: Radu Marias --- .../workflows/build_and_tests_reusable.yaml | 27 ++++++++++++++----- 1 file changed, 20 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build_and_tests_reusable.yaml b/.github/workflows/build_and_tests_reusable.yaml index 578a524..ae206ce 100644 --- a/.github/workflows/build_and_tests_reusable.yaml +++ b/.github/workflows/build_and_tests_reusable.yaml @@ -51,12 +51,16 @@ 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 + 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' @@ -82,6 +86,7 @@ jobs: - name: java-bridge clippy run: | + cd java-bridge cargo clippy --all-targets --release -- \ -A clippy::similar_names \ -A clippy::too_many_arguments \ @@ -91,11 +96,19 @@ jobs: -A clippy::type_complexity shell: bash - - name: java-bridge doc - run: cargo doc --workspace --all-features --no-deps - - name: java-bridge tests if: matrix.os != 'windows-latest' run: | cd java-bridge cargo test --release --all --all-features + + - name: java-bridge bench + if: matrix.os != 'windows-latest' + run: | + cd java-bridge + cargo bench --workspace --all-targets --all-features + + - name: java-bridge doc + run: | + cd java-bridge + cargo doc --workspace --all-features --no-deps