Skip to content

Commit

Permalink
Merge pull request #210 from ocurrent/CI-env-var
Browse files Browse the repository at this point in the history
Define `CI` and `OPAM_REPO_CI` env vars in runs
  • Loading branch information
kit-ty-kate authored Apr 25, 2023
2 parents 4e6ae7d + d265842 commit 0a4697e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/opam_build.ml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ let setup_repository ~variant ~for_docker ~opam_version =
env "OPAMERRLOGLEN" "0" :: (* Show the whole log if it fails *)
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 *)
[
run "rm -rf opam-repository/";
copy ["."] ~dst:"opam-repository/";
Expand Down

0 comments on commit 0a4697e

Please sign in to comment.