Skip to content

Commit

Permalink
Make sure opam init works in the absence of OPAMROOT
Browse files Browse the repository at this point in the history
  • Loading branch information
kit-ty-kate committed Jan 27, 2025
1 parent 6dacaa8 commit c9e8dab
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 c9e8dab

Please sign in to comment.