From 535fc9e63b35b0bf7261533a2cab9685cd4c181b Mon Sep 17 00:00:00 2001 From: aidan Date: Fri, 10 May 2024 16:26:44 +0200 Subject: [PATCH] ci: Add test job --- .github/workflows/ci.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 85387014a..3f58acdbe 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -71,3 +71,13 @@ jobs: run: RUSTFLAGS="-D warnings" cargo build -p polka-storage-node --features runtime-benchmarks - name: Build in release mode run: RUSTFLAGS="-D warnings" cargo build --release + + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@stable + - name: List version + run: cargo --version + - name: Run tests + run: RUSTFLAGS="-D warnings" cargo test --workspace