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

test: fix test-process-load-env-file when path contains ' #54511

Merged

Conversation

aduh95
Copy link
Contributor

@aduh95 aduh95 commented Aug 22, 2024

If the repo is cloned on a path that contains a quote, the test should not fail.

For good measure, I used a test path with "odd" chars so we're making sure it works everywhere.

If the repo is cloned on a path that contains a quote, the test should
not fail.
@nodejs-github-bot nodejs-github-bot added needs-ci PRs that need a full CI run. test Issues and PRs related to the tests. labels Aug 22, 2024
@aduh95 aduh95 added author ready PRs that have at least one approval, no pending requests for changes, and a CI started. request-ci Add this label to start a Jenkins CI on a PR. labels Aug 22, 2024
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Aug 22, 2024
@nodejs-github-bot

This comment was marked as outdated.

Copy link

codecov bot commented Aug 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.34%. Comparing base (e70bd47) to head (819ab0e).
Report is 140 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #54511      +/-   ##
==========================================
- Coverage   87.34%   87.34%   -0.01%     
==========================================
  Files         649      649              
  Lines      182524   182524              
  Branches    35026    35030       +4     
==========================================
- Hits       159420   159418       -2     
- Misses      16373    16377       +4     
+ Partials     6731     6729       -2     

see 29 files with indirect coverage changes

@nodejs-github-bot

This comment was marked as outdated.

@nodejs-github-bot
Copy link
Collaborator

@lpinca lpinca added the commit-queue Add this label to land a pull request using GitHub Actions. label Aug 29, 2024
@nodejs-github-bot nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Aug 29, 2024
@nodejs-github-bot
Copy link
Collaborator

Commit Queue failed
- Loading data for nodejs/node/pull/54511
✔  Done loading data for nodejs/node/pull/54511
----------------------------------- PR info ------------------------------------
Title      test: fix `test-process-load-env-file` when path contains `'` (#54511)
   ⚠  Could not retrieve the email or name of the PR author's from user's GitHub profile!
Branch     aduh95:more-robust-process-load-env-test -> nodejs:main
Labels     test, author ready, needs-ci
Commits    1
 - test: fix `test-process-load-env-file` when path contains `'`
Committers 1
 - Antoine du Hamel <[email protected]>
PR-URL: https://github.com/nodejs/node/pull/54511
Reviewed-By: Yagiz Nizipli <[email protected]>
------------------------------ Generated metadata ------------------------------
PR-URL: https://github.com/nodejs/node/pull/54511
Reviewed-By: Yagiz Nizipli <[email protected]>
--------------------------------------------------------------------------------
   ℹ  This PR was created on Thu, 22 Aug 2024 20:08:19 GMT
   ✔  Approvals: 1
   ✔  - Yagiz Nizipli (@anonrig) (TSC): https://github.com/nodejs/node/pull/54511#pullrequestreview-2255562343
   ✘  This PR needs to wait 11 more hours to land (or 0 hours if there is one more approval)
   ✔  Last GitHub CI successful
   ℹ  Last Full PR CI on 2024-08-23T21:23:43Z: https://ci.nodejs.org/job/node-test-pull-request/61393/
- Querying data for job/node-test-pull-request/61393/
   ✔  Last Jenkins CI successful
--------------------------------------------------------------------------------
   ✔  Aborted `git node land` session in /home/runner/work/node/node/.ncu
https://github.com/nodejs/node/actions/runs/10611625567

@nodejs-github-bot nodejs-github-bot added the commit-queue-failed An error occurred while landing this pull request using GitHub Actions. label Aug 29, 2024
@aduh95 aduh95 added commit-queue Add this label to land a pull request using GitHub Actions. and removed commit-queue-failed An error occurred while landing this pull request using GitHub Actions. labels Sep 6, 2024
@nodejs-github-bot nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Sep 6, 2024
@nodejs-github-bot nodejs-github-bot merged commit a75e3df into nodejs:main Sep 6, 2024
71 checks passed
@nodejs-github-bot
Copy link
Collaborator

Landed in a75e3df

@aduh95 aduh95 deleted the more-robust-process-load-env-test branch September 6, 2024 18:14
aduh95 added a commit that referenced this pull request Sep 12, 2024
If the repo is cloned on a path that contains a quote, the test should
not fail.

PR-URL: #54511
Reviewed-By: Yagiz Nizipli <[email protected]>
Reviewed-By: James M Snell <[email protected]>
@RafaelGSS RafaelGSS mentioned this pull request Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
author ready PRs that have at least one approval, no pending requests for changes, and a CI started. needs-ci PRs that need a full CI run. test Issues and PRs related to the tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants