-
-
Notifications
You must be signed in to change notification settings - Fork 8.1k
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
Resolve CI issues #2907
Resolve CI issues #2907
Conversation
ps this is very helpful, thank you - i'd love to get this landed asap so i can unblock a bunch of PRs. |
Is it possible that documentation is out of date? I don't see a |
FYI I made the The root problem appears to be that with the latest version of node there is no longer a single Ubuntu version that can install all versions of node. A fix could be to devise a strategy where nvm is only tested with old versions of node, up to 16, on xenial, and also where nvm is only tested with newer versions of node, starting at some version , up to latest. This could be done through reorganization of the tests and coordinating which tests are run on which ubuntu runner version through CI configuration. Or we could make the tests aware of an optional minimum and maximum version, and the test itself would only run if the version is within that range, if a range is defined. |
That reorganization should be handled as part of migrating from travis to github actions. This PR is hopefully sufficient to get tests passing, which is valuable. |
I'm looking at the failing test with I could got with
and
|
FYI my rational behind running
|
Since |
I haven't been able to identify the exact issue, but it could be how nvm sets the default version when installing root@e1e23c7c205f:/nvm-sh/nvm# nvm ls
-> v16.17.1
default -> lts/* (-> v16.17.1)
iojs -> N/A (default)
unstable -> N/A (default)
node -> stable (-> v16.17.1) (default)
stable -> 16.17 (-> v16.17.1) (default)
lts/* -> lts/gallium (-> v16.17.1)
lts/argon -> v4.9.1 (-> N/A)
lts/boron -> v6.17.1 (-> N/A)
lts/carbon -> v8.17.0 (-> N/A)
lts/dubnium -> v10.24.1 (-> N/A)
lts/erbium -> v12.22.12 (-> N/A)
lts/fermium -> v14.20.1 (-> N/A)
lts/gallium -> v16.17.1 At this time, because
|
ahhh - in that case, |
8afdd2a
to
fbbcd70
Compare
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.
Looks great, thank you!!
Problems:
npm install
on xenial, breaking builder.nvm install --lts
beforenvm install 16
, this sets the default node version correctly for the tests and uses 16 fornpm install
. This is a workaround which won't be required after migrating from Travis CI to GitHub Actions, where more control over the tests to distro orchestration is possible.0.6.21
Homebrew/actions/setup-homebrew
action.install.sh
due towhich
error. https://www.shellcheck.net/wiki/SC2230which
tocommand -v
will be address in a future PR.