Skip to content

Commit

Permalink
chore(make): run doctest in make test (paradigmxyz#7125)
Browse files Browse the repository at this point in the history
Signed-off-by: jsvisa <[email protected]>
  • Loading branch information
jsvisa authored Mar 13, 2024
1 parent 10aeeb0 commit 8b0292d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,8 @@ lint:
make lint-op-reth && \
make lint-other-targets

rustdocs:
.PHONY: rustdocs
rustdocs: ## Runs `cargo docs` to generate the Rust documents in the `target/doc` directory
RUSTDOCFLAGS="\
--cfg docsrs \
--show-type-layout \
Expand Down Expand Up @@ -340,9 +341,14 @@ test-other-targets:
--benches \
--all-features

test-doc:
cargo test --doc --workspace --features "ethereum"
cargo test --doc --workspace --features "optimism"

test:
make test-reth && \
make test-op-reth && \
make test-doc && \
make test-other-targets

pr:
Expand Down

0 comments on commit 8b0292d

Please sign in to comment.