Skip to content

Commit

Permalink
ci: enable doc tests
Browse files Browse the repository at this point in the history
Signed-off-by: Shunkichi Sato <49983831+s8sato@users.noreply.github.com>
  • Loading branch information
s8sato committed Oct 30, 2024
1 parent bba5fa6 commit f9d60b6
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/iroha2-dev-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,18 @@ jobs:
mold --run cargo llvm-cov nextest
--all-features
--branch --no-report
- name: Doc test with no default features
run: >
mold --run cargo llvm-cov --doc
--no-default-features
--branch --no-report
- name: Doc test with all features
run: >
mold --run cargo llvm-cov --doc
--all-features
--branch --no-report
- name: Generate lcov report
run: cargo llvm-cov report --lcov --output-path lcov.info
run: cargo llvm-cov report --doctests --lcov --output-path lcov.info
- name: Upload lcov report
uses: actions/upload-artifact@v4
with:
Expand Down
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions crates/iroha_telemetry_derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,6 @@ manyhow = { workspace = true }
iroha_macro_utils = { workspace = true }

[dev-dependencies]
iroha_core = { workspace = true }

trybuild = { workspace = true }

0 comments on commit f9d60b6

Please sign in to comment.