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

Run tests without default features in CI #26

Merged
merged 2 commits into from
Jun 16, 2022
Merged

Conversation

pjsier
Copy link
Member

@pjsier pjsier commented Jun 15, 2022

Adds running cargo test with --no-default-features to the CI test step, and splits out running cargo bench into its own job since it's not important there. This should prevent running into any issues like #21.

I had to update some of the doctests with #[cfg] but I'm commenting that out so that it doesn't show in the final documentation output.

Also includes two unrelated changes to reduce the amount of duplication in running CI (currently running on branch and PR for every PR made from a branch on this repo) and to make two links clickable that I ran into while testing cargo doc locally. These seemed pretty small and easiest to just incorporate here

Feedback is welcome! This should be a pretty minor fix as long as CI passes

Co-authored-by: Michael Kirk <michael.code@endoftheworl.de>
@pjsier pjsier merged commit 26bc42f into main Jun 16, 2022
@pjsier pjsier deleted the ci/test-no-default-features branch June 16, 2022 21:29
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