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

Enable -warn-error +partial-match by default to ensure changes in a dependency do not lead into unforseen runtime failures #242

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions lib/opam_build.ml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ let setup_repository ?(local=false) ~variant ~for_docker ~opam_version () =
env "OPAMSOLVERTIMEOUT" "500" :: (* Increase timeout. Poor mccs is doing its best *)
env "OPAMPRECISETRACKING" "1" :: (* Mitigate https://github.com/ocaml/opam/issues/3997 *)
env "CI" "true" :: env "OPAM_REPO_CI" "true" :: (* Advertise CI for test frameworks *)
env "OCAMLPARAM" "warn-error=+8,_" :: (* https://github.com/ocaml/ocaml/issues/12475 *)
[
run "rm -rf opam-repository/";
copy ["."] ~dst:"opam-repository/";
Expand Down