From 5e297d655ead21dcb2529408d245a0530aaf5381 Mon Sep 17 00:00:00 2001 From: Young-Flash Date: Thu, 21 Nov 2024 15:44:05 +0800 Subject: [PATCH] ci: enable doc test for core (#488) --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b229d4f8..dc3bf205 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -202,6 +202,7 @@ jobs: cargo run --bin moon test --source-dir ~/.moon/lib/core --release --target wasm-gc cargo run --bin moon test --source-dir ~/.moon/lib/core --release --target js cargo run --bin moon test --source-dir ~/.moon/lib/core --release --target wasm + cargo run --bin moon test --source-dir ~/.moon/lib/core --doc - name: Test core (Windows) if: ${{ matrix.os == 'windows-latest' }} run: | @@ -211,6 +212,7 @@ jobs: cargo run --bin moon test --source-dir "$env:USERPROFILE\.moon\lib\core" --release --target wasm-gc cargo run --bin moon test --source-dir "$env:USERPROFILE\.moon\lib\core" --release --target js cargo run --bin moon test --source-dir "$env:USERPROFILE\.moon\lib\core" --release --target wasm + cargo run --bin moon test --source-dir "$env:USERPROFILE\.moon\lib\core" --doc stable-test: needs: [typo-check, license-header-check] @@ -288,6 +290,7 @@ jobs: cargo run --bin moon test --source-dir ~/.moon/lib/core --release --target wasm-gc cargo run --bin moon test --source-dir ~/.moon/lib/core --release --target js cargo run --bin moon test --source-dir ~/.moon/lib/core --release --target wasm + cargo run --bin moon test --source-dir ~/.moon/lib/core --release --doc - name: Test core (Windows) if: ${{ matrix.os == 'windows-latest' }} run: | @@ -297,6 +300,7 @@ jobs: cargo run --bin moon test --source-dir "$env:USERPROFILE\.moon\lib\core" --release --target wasm-gc cargo run --bin moon test --source-dir "$env:USERPROFILE\.moon\lib\core" --release --target js cargo run --bin moon test --source-dir "$env:USERPROFILE\.moon\lib\core" --release --target wasm + cargo run --bin moon test --source-dir "$env:USERPROFILE\.moon\lib\core" --doc coverage: needs: bleeding-test