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

Skip when dependencies fail #155

Closed
wants to merge 1 commit into from

Conversation

kit-ty-kate
Copy link
Contributor

No description provided.

@kit-ty-kate
Copy link
Contributor Author

Needs #78 to go in first

@kit-ty-kate
Copy link
Contributor Author

Reverted from live because it hid many failures on one of the tezos release:

  • many packages interconnected with each other
  • Skipping dependencies failures on lower-bounds isn’t right
  • Different mix of packages can have different effects on them
  • ...

@@ -26,7 +26,7 @@ let opam_install ~variant ~opam_version ~pin ~lower_bounds ~with_tests ~pkg =
run ~network "opam %s" (match opam_version with `V2_1 -> "update --depexts" | `V2_0 -> "depext -u");
(* TODO: Replace by two calls to opam install + opam install -t using the OPAMDROPINSTALLEDPACKAGES feature *)
run ~cache ~network
{|opam remove %s%s && opam install --deps-only%s %s && opam install -v%s %s;
{|opam remove %s%s && (opam install --deps-only%s %s || echo @@@FAILED-DEPENDS@@@) && opam install -v%s %s;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
{|opam remove %s%s && (opam install --deps-only%s %s || echo @@@FAILED-DEPENDS@@@) && opam install -v%s %s;
{|opam remove %s%s && (opam install --deps-only%s %s || (echo @@@FAILED-DEPENDS@@@ && false)) && opam install -v%s %s;

@kit-ty-kate
Copy link
Contributor Author

Superseded by #198

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