Skip to content

CI: run the tests on Linux, macOS and Windows - #23

Merged
vincentsch merged 5 commits into
mainfrom
ci-tests
Oct 13, 2026
Merged

vincentsch merged 5 commits into
mainfrom
ci-tests

Conversation

@vincentsch

Copy link
Copy Markdown
Owner

Runs npm test on Ubuntu (Node 20 and 22), macOS and Windows (Node 22) for every push to main and every pull request. ffmpeg comes from setup-ffmpeg, and the runners' own Chrome serves the browser tests. Tests that need the downloaded speech models skip when the models are missing, as they do locally.

MathJax loads its parts with import() and a file path, which Windows
rejects for a drive path like D:\..., so the formulas failed there. The
loader now gets a file URL, and a MathJax that cannot start gives a clear
error. Tests compare paths with path.resolve and forward slashes, and the
tests that use a POSIX script as a fake espeak-ng skip on Windows.
@vincentsch
vincentsch merged commit a7d4c82 into main Oct 13, 2026
4 checks passed
@vincentsch
vincentsch deleted the ci-tests branch October 13, 2026 19:39
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