From 85ba40e5e972a8ce466a29663cbc28f266e6f972 Mon Sep 17 00:00:00 2001 From: Yura Menshov Date: Mon, 16 Dec 2024 08:28:08 +0200 Subject: [PATCH 1/2] run unit tests too previously only integration tests would run --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 62064372..d52a4e3f 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -83,7 +83,7 @@ jobs: id: run-tests if: ${{ steps.check-tests.outcome == 'success' }} run: | - cargo +${{ steps.install-rust.outputs.name }} test --target ${{ matrix.target }} --workspace --test "*" --no-fail-fast + cargo +${{ steps.install-rust.outputs.name }} test --target ${{ matrix.target }} --workspace --tests --no-fail-fast review-pr: name: Review PR runs-on: ubuntu-24.04 From 9060a262f9f7d7114b21425e369fa7ab3c610f35 Mon Sep 17 00:00:00 2001 From: Yura Menshov Date: Mon, 16 Dec 2024 08:29:13 +0200 Subject: [PATCH 2/2] run doctests too --- .github/workflows/ci.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index d52a4e3f..b51c63c3 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -84,6 +84,11 @@ jobs: if: ${{ steps.check-tests.outcome == 'success' }} run: | cargo +${{ steps.install-rust.outputs.name }} test --target ${{ matrix.target }} --workspace --tests --no-fail-fast + - name: Run doctests + id: run-doctests + if: ${{ steps.check-tests.outcome == 'success' }} + run: | + cargo +${{ steps.install-rust.outputs.name }} test --target ${{ matrix.target }} --workspace --doc --no-fail-fast review-pr: name: Review PR runs-on: ubuntu-24.04