From aef3df623b710536520a5060089f645292226429 Mon Sep 17 00:00:00 2001 From: Shunkichi Sato <49983831+s8sato@users.noreply.github.com> Date: Mon, 11 Nov 2024 17:37:45 +0900 Subject: [PATCH] ci: enable doc tests (#5201) Signed-off-by: Shunkichi Sato <49983831+s8sato@users.noreply.github.com> --- .github/workflows/iroha2-dev-pr.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/iroha2-dev-pr.yml b/.github/workflows/iroha2-dev-pr.yml index 944e6444e96..b451f9a0d06 100644 --- a/.github/workflows/iroha2-dev-pr.yml +++ b/.github/workflows/iroha2-dev-pr.yml @@ -113,8 +113,13 @@ jobs: mold --run cargo llvm-cov nextest --all-features --branch --no-report + - name: Doc test with all features + run: > + mold --run cargo llvm-cov --doc + --all-features + --branch --no-report - name: Generate lcov report - run: cargo llvm-cov report --lcov --output-path lcov.info + run: cargo llvm-cov report --doctests --lcov --output-path lcov.info - name: Upload lcov report uses: actions/upload-artifact@v4 with: