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.
This commit is contained in:
parent
d6d5d6e674
commit
0de13cf5a9
2 changed files with 7 additions and 2 deletions
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
|
|
@ -48,9 +48,9 @@ jobs:
|
|||
- name: Install Rust
|
||||
run: bash ci/install-rust.sh ${{ matrix.rust }} ${{ matrix.target }}
|
||||
- name: Build and run tests
|
||||
run: cargo test --locked --target ${{ matrix.target }}
|
||||
run: cargo test --workspace --locked --target ${{ matrix.target }}
|
||||
- name: Test no default
|
||||
run: cargo test --no-default-features --target ${{ matrix.target }}
|
||||
run: cargo test --workspace --no-default-features --target ${{ matrix.target }}
|
||||
|
||||
aarch64-cross-builds:
|
||||
runs-on: ubuntu-22.04
|
||||
|
|
|
|||
|
|
@ -8,3 +8,8 @@ mdbook = { version = "0.4.40", path = "../../.." }
|
|||
pulldown-cmark = { version = "0.12.2", default-features = false }
|
||||
pulldown-cmark-to-cmark = "18.0.0"
|
||||
serde_json = "1.0.132"
|
||||
|
||||
[[bin]]
|
||||
name = "mdbook-remove-emphasis"
|
||||
# This is tested through a separate test from the main package.
|
||||
test = false
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue