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

Do not call cargo test with --all-targets #253

Merged
merged 2 commits into from
Jan 30, 2021
Merged

Do not call cargo test with --all-targets #253

merged 2 commits into from
Jan 30, 2021

Conversation

jonasbb
Copy link
Owner

@jonasbb jonasbb commented Jan 30, 2021

The --all-targets flag for cargo test actually DISABLES doctests.
Doctests should of course be run, so removing the flag from the CI scrips.
There is a bug report for cargo about this behavior:
rust-lang/cargo#6669

This fixes the changes done in #235 / 9a6c3bf.

The `--all-targets` flag for `cargo test` actually DISABLES doctests.
Doctests should of course be run, so removing the flag from the CI scrips.
There is a bug report for cargo about this behavior:
rust-lang/cargo#6669

This fixes the changes done in #235 / 9a6c3bf.
@jonasbb
Copy link
Owner Author

jonasbb commented Jan 30, 2021

bors r+

@codecov
Copy link

codecov bot commented Jan 30, 2021

Codecov Report

Merging #253 (e86bdc8) into master (8f4aaac) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #253   +/-   ##
=======================================
  Coverage   77.13%   77.13%           
=======================================
  Files          36       36           
  Lines        2130     2130           
=======================================
  Hits         1643     1643           
  Misses        487      487           
Impacted Files Coverage Δ
src/rust.rs 72.98% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8f4aaac...e86bdc8. Read the comment docs.

@bors
Copy link
Contributor

bors bot commented Jan 30, 2021

Build succeeded:

@bors bors bot merged commit 90881b3 into master Jan 30, 2021
@jonasbb jonasbb deleted the fix-doctest-running branch March 12, 2021 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant