Skip to content

Deny warnings in CI (except for nightly channel) #680

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

Merged
merged 2 commits into from
Aug 4, 2019

Conversation

jturner314
Copy link
Member

I was surprised to read in #661 that there are warnings that we haven't fixed. This PR makes the build fail if there are any compiler warnings, except on the nightly channel.

It's tempting to add #![deny(warnings)] to the top of lib.rs, but when working on ndarray, I don't really want warnings to get in the way of development. So, I'm proposing just denying warnings in CI.

@jturner314
Copy link
Member Author

CI failed on the first commit of this PR because there were warnings that need to be fixed. This was the desired result. I've now added another commit to fix the warnings, so CI should pass.

@jturner314 jturner314 force-pushed the deny-warnings-in-ci branch from c6eecb8 to c7a1ca3 Compare August 2, 2019 21:00
@LukeMathWalker
Copy link
Member

I'd say it makes to limit it to CI - merging 👍

@LukeMathWalker LukeMathWalker merged commit 97d95b7 into rust-ndarray:master Aug 4, 2019
@jturner314 jturner314 deleted the deny-warnings-in-ci branch August 21, 2019 00:16
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