Skip to content

Commit

Permalink
Merge pull request ocaml#5663 from kit-ty-kate/test-sandbox-no-opamroot
Browse files Browse the repository at this point in the history
GHA: Make sure opam init works in the absence of OPAMROOT
  • Loading branch information
kit-ty-kate authored Jan 27, 2025
2 parents 6dacaa8 + c9e8dab commit d2f2e6b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/scripts/main/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,9 @@ eval $(opam env)
opam install lwt
opam list
opam config report

# Make sure opam init (including the sandbox script) works in the absence of OPAMROOT
unset OPAMROOT
rm -r ~/.opam
opam init --bare -vvv
rm -r ~/.opam
1 change: 1 addition & 0 deletions master_changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ users)
* Speedup the gentoo depexts test [#6363 @kit-ty-kate]
* Add OCaml 5.3 to the build matrix [#6192 @kit-ty-kate]
* Add OCaml 5.3/MSVC to the build matrix [#6192 @kit-ty-kate]
* Add a test making sure `opam init` works in the absence of `OPAMROOT` [#5663 @kit-ty-kate]

## Doc
* Update the command to install opam to point to the new simplified url on opam.ocaml.org [#6226 @kit-ty-kate]
Expand Down

0 comments on commit d2f2e6b

Please sign in to comment.