Repository navigation
Conversation
|
I'm not really a fan of this PR since it implies that basically EDIT: I've just noticed the |
|
Well, they all define the There's the bonus that GitHub Actions parses the output log for workflow commands, such as Alcotest recognizes that it's run in GHA and is able to emit these commands to better integrate in the GHA interface, by highlighting errors, or grouping test cases in drop down buttons. We could even have the GitHub interface link to the file where the error is raised, but that's a bit difficult to do considering the structure of Alcotest. Neither OCaml-CI nor opam-repo-ci currently support such features. |
|
Hmmmhmm, I still have a doubt about the validity of having to change alcotest according to CI (and not vice versa) - as you mention, the CI environment variable would be sufficient for all CIs. What I have a problem with is the maintainance involved in such a design where the maintaineurs must always be synchronised with these CIs. We could imagine extensions such as |
|
Don't all the CIs define the |
|
Closing, I'll switch to detecting |
Recognize Alcotest is running in opam-repo-ci if the
OPAM_REPO_CIenv var is set to"true", and display all the tests (failures) by default.