Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(make): run doctest in make test #7125

Merged
merged 2 commits into from Mar 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 7 additions & 1 deletion Makefile
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