Skip to content

Commit

Permalink
ci: enable doc test for core (#488)
Browse files Browse the repository at this point in the history
  • Loading branch information
Young-Flash authored Nov 21, 2024
1 parent 09f9369 commit 5e297d6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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]
Expand Down Expand Up @@ -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: |
Expand All @@ -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
Expand Down

0 comments on commit 5e297d6

Please sign in to comment.