Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix test config for Windows environments #307

Merged
merged 4 commits into from
Sep 5, 2021
Merged

Fix test config for Windows environments #307

merged 4 commits into from
Sep 5, 2021

Conversation

eemeli
Copy link
Owner

@eemeli eemeli commented Sep 5, 2021

As discovered in #306, the tests don't pass on Windows. This adds windows-latest (and macos-latest because why not) environment to the GitHub Actions Node.js test workflow, and fixes the issues that then arise.

It would appear that setting autocrlf false is required by the yaml-test-suite tests, as otherwise something there is causing a busy loop that eventually results in a Allocation failed - JavaScript heap out of memory crash.

- Match backslash in Jest config transform paths
- Deal with git's core.autocrlf true
- Ensure that errors in yaml-test-suite are caused within tests
@eemeli eemeli merged commit 9dd5cbf into master Sep 5, 2021
@eemeli eemeli deleted the win-mac-tests branch September 5, 2021 15:41
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.

None yet

1 participant