From 5ec20123eaf0687a4c229cfb6a05cede8013a29b Mon Sep 17 00:00:00 2001 From: Oleksandr Pravdyvyi Date: Fri, 18 Oct 2024 09:05:58 +0300 Subject: [PATCH] fix: ci testing update --- .github/workflows/ci.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8046e27..073b162 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -59,3 +59,28 @@ jobs: if: success() || failure() run: | cargo clippy --release -- -D warnings + + test: + strategy: + matrix: + platform: [ ubuntu-latest ] + runs-on: ${{ matrix.platform }} + timeout-minutes: 60 + + name: test - ${{ matrix.crate }} - ${{ matrix.platform }} + steps: + - name: Checkout sources + uses: actions/checkout@v3 + - name: Install stable toolchain + uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: nightly + override: true + - uses: Swatinem/rust-cache@v2 + - name: test mempool + if: success() || failure() + run: cargo test -p mempool + - name: test storage + if: success() || failure() + run: cargo test -p storage