-
Notifications
You must be signed in to change notification settings - Fork 159
fix: can't run unit tests in docker #600
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
Conversation
6da3bab
to
5fff11a
Compare
SOCKS test is failing in CI |
@jirimoravcik should be fixed now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we also add tests for newer Node.js versions in the CI? Now we have 14, 16, 18. Let's add 20, 22, 24 (soon LTS)
I've already checked node 22 and tests are failing there due to few breakable changes (e.g. node 22 don't allow us to response with status code |
Yes, that's fine |
Here's issue about node version upgrade: #601 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really nice!
This PR fix Dockerfile and allows unit tests to run inside a container gracefully.
Also it specifies a node.js versionDiscussed later with Jirka that it's better not to have this file. All the tests must be fixed and should be compatible with newer versions of node all the time.18
into.nvmrc
file to ensure compatibility.Resolves: #599