diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 73f940b4..6ce056cd 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 diff --git a/examples/remove-emphasis/mdbook-remove-emphasis/Cargo.toml b/examples/remove-emphasis/mdbook-remove-emphasis/Cargo.toml index 38f7e907..0ef48dd5 100644 --- a/examples/remove-emphasis/mdbook-remove-emphasis/Cargo.toml +++ b/examples/remove-emphasis/mdbook-remove-emphasis/Cargo.toml @@ -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