Skip to content

Try to make CI faster#67

Merged
davesnx merged 38 commits into
mainfrom
make-ci-faster
Jan 16, 2026
Merged

Try to make CI faster#67
davesnx merged 38 commits into
mainfrom
make-ci-faster

Conversation

@davesnx

@davesnx davesnx commented Jan 14, 2026

Copy link
Copy Markdown
Owner

No description provided.

This reverts commit 9078c52.
- Add .opam, Makefile, dune, dune-project to .gitattributes with eol=lf
- Use dune-project instead of *.opam for cache key (source of truth)
Cram tests use shell commands that behave differently on Windows
(echo, pipes, etc), causing test failures. The core functionality
is still tested via Alcotest unit tests.
Two issues causing cram tests to fail on Windows:

1. .gitattributes: Add *.t and *.sh files to enforce LF line endings.
   Cram tests compare output literally, so CRLF vs LF mismatches
   would cause test failures.

2. cli/cli.ml: Set stdout to binary mode on Windows. By default,
   Windows text mode converts \n to \r\n on output, causing
   test output mismatches. Binary mode ensures consistent LF
   output across all platforms.
@davesnx
davesnx merged commit 7eebe42 into main Jan 16, 2026
4 checks passed
@davesnx
davesnx deleted the make-ci-faster branch January 16, 2026 16:37
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