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

ci: Test docs in addition to cargo t --all-targets #392

Merged
merged 2 commits into from
Mar 14, 2021

Conversation

MarijnS95
Copy link
Collaborator

Unfortunately docs are not explicitly (build-)tested as part of --all-targets allowing broken code to slip in as shown by #390.

Also remove the rust listing type which is the default, leaving only no_run (until the CI has a loadable Vulkan library).

Unfortunately docs are not explicitly (build-)tested as part of
`--all-targets` allowing broken code to slip in as shown by ash-rs#390.

Also remove the `rust` listing type which is the default, leaving only
`no_run` (until the CI has a loadable Vulkan library).
@MarijnS95
Copy link
Collaborator Author

https://github.com/MaikKlein/ash/pull/392/checks?check_run_id=2060979768 Great, CI works, let's push the fixes :)

@MaikKlein MaikKlein merged commit 8444db4 into ash-rs:master Mar 14, 2021
@MarijnS95 MarijnS95 deleted the test-docs branch March 14, 2021 10:34
@MarijnS95
Copy link
Collaborator Author

For future reference cargo test without --all-targets should have also tested the docs. Apparently it tests more without than with the --all-targets, except benches: https://doc.rust-lang.org/cargo/commands/cargo-test.html#target-selection

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.

2 participants