From 282f19d27c2e2583fc57c9015116b757296f141c Mon Sep 17 00:00:00 2001 From: Boshen Date: Wed, 29 Mar 2023 15:29:50 +0800 Subject: [PATCH] ci: separate test build and test run https://matklad.github.io/2021/09/04/fast-rust-builds.html#CI-Workflow --- .github/workflows/check.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml index 7e9f22888..be7ddfacc 100644 --- a/.github/workflows/check.yaml +++ b/.github/workflows/check.yaml @@ -111,7 +111,10 @@ jobs: with: shared-key: check - - name: Run tests on ${{ matrix.os }} + - name: Build tests + run: cargo nextest run --no-run --locked + + - name: Run tests run: cargo nextest run documentation: