Skip to content

Commit 0de13cf

Browse files
committed
Update CI to test the whole workspace
This updates the CI jobs to ensure that all crates in the workspace are tested. This will be needed when more crates are added.
1 parent d6d5d6e commit 0de13cf

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ jobs:
4848
- name: Install Rust
4949
run: bash ci/install-rust.sh ${{ matrix.rust }} ${{ matrix.target }}
5050
- name: Build and run tests
51-
run: cargo test --locked --target ${{ matrix.target }}
51+
run: cargo test --workspace --locked --target ${{ matrix.target }}
5252
- name: Test no default
53-
run: cargo test --no-default-features --target ${{ matrix.target }}
53+
run: cargo test --workspace --no-default-features --target ${{ matrix.target }}
5454

5555
aarch64-cross-builds:
5656
runs-on: ubuntu-22.04

examples/remove-emphasis/mdbook-remove-emphasis/Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,8 @@ mdbook = { version = "0.4.40", path = "../../.." }
88
pulldown-cmark = { version = "0.12.2", default-features = false }
99
pulldown-cmark-to-cmark = "18.0.0"
1010
serde_json = "1.0.132"
11+
12+
[[bin]]
13+
name = "mdbook-remove-emphasis"
14+
# This is tested through a separate test from the main package.
15+
test = false

0 commit comments

Comments
 (0)