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] install.sh: fix failing install tests from #3458 #3467

Merged
merged 3 commits into from
Nov 12, 2024

Conversation

menaechmi
Copy link
Contributor

I just saw that you merged it and your message, it seems that the urchin tests aren't run until a commit is pushed - which is why we didn't catch the test failing. (So I added that as a separate PR #3466 - under the assumption that if you merge that first, we can run the test on this PR to ensure it fixes the issue)

This should address the failing tests. I missed the line for an unset $SHELL variable in install.sh - the rest of the PR is unsetting $ZDOTDIR for the other shells test (they will fail if it remains set). Local testing verifies this passes the urchin tests, though.

@ljharb
Copy link
Member

ljharb commented Nov 12, 2024

Thanks!

@ljharb ljharb added bugs Oh no, something's broken :-( installing nvm Problems installing nvm itself labels Nov 12, 2024
Copy link
Member

@ljharb ljharb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rebased this on top of the other PR, and will land them together

@ljharb ljharb changed the title [fix] Fix failing install tests [Fix] install.sh: fix failing install tests from #3458 Nov 12, 2024
@menaechmi
Copy link
Contributor Author

Thank you for letting me fix the problem that I introduced!

@ljharb ljharb merged commit 9659af6 into nvm-sh:master Nov 12, 2024
173 of 175 checks passed
@menaechmi menaechmi deleted the patch-1 branch February 7, 2025 21:23
ljharb added a commit that referenced this pull request Mar 11, 2025
New Stuff
 - `install.sh`: add `$ZDOTDIR` to zsh search (#3458)

Fixes
 - `reinstall-packages`: do not reinstall corepack (#3544)
 - avoid bash-specific syntax (#3499)
 - `install-latest-npm`: npm v11 is out
 - `nvm_install_latest_npm`: avoid unbound variable (#3447)
 - give a more helpful message when `lts` alias is mistakenly used (#3441)
 - `nvm ls`, `nvm alias`, `nvm install`: error when an LTS name is invalid
 - `nvm_normalize_lts`: error when an LTS name is not lowercase (#3417)

Documentation
 - [readme] update link
 - [readme] fix `--no-use` example (#3479)
 - [readme] update copyright notice (#3507)
 - [readme] note zsh-nvm's AUTO_USE option (#2670)
 - [readme] add note about reloading zshrc after editing (#3052)
 - [readme] Update shell profile file install notes (#2241)
 - [readme] add docker tips (#2318)
 - [readme] remove `avn` from readme (#3469)
 - [readme] fnm -> nvm.fish (#2541)

Refactors
 - prefer `case` over if/else chains
 - combine `sed -e` invocations/arguments

Tests
 - `nvm exec`/`nvm run`: add `--silent` tests (#1259)
 - [actions] release test needs git tags
 - migrate `installation_iojs` test suite to GitHub Actions (#3476)
 - Migrate slow test suite from Travis CI (#3470)
 - temporarily skip this failing travis test to unblock progress
 - [actions] TOC: use latest LTS node
 - `install.sh`: clean up `nvm_detect_profile` tests
 - `nvm_detect_profile`: refactor (#3467)
 - run urchin tests on pull requests (#3466)
 - update mocks
 - ensure that unit tests use only mocked LTS names
 - [actions] use `node/install` instead of `node/run`

Meta
 - disable blank issues
 - update issue template
 - add DCO (#3456)
 - Rename .github/ISSUE_TEMPLATE.md to .github/ISSUE_TEMPLATE/ISSUE_TEMPLATE.md (#3454)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugs Oh no, something's broken :-( installing nvm Problems installing nvm itself
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants