Skip to content

Conversation

bjohansebas
Copy link
Member

@bjohansebas bjohansebas force-pushed the windows-test-v2 branch 2 times, most recently from 32d90f3 to 229e609 Compare March 14, 2025 19:06
@bjohansebas bjohansebas force-pushed the windows-test-v2 branch 7 times, most recently from a57b64f to c82db2c Compare April 3, 2025 22:23
@bjohansebas bjohansebas marked this pull request as ready for review April 3, 2025 22:33
@bjohansebas
Copy link
Member Author

Apparently there's an issue with npm. I have no idea why, but it shouldn't be related to this PR. However, it's something we need to fix if it's affecting the CI.

Copy link

@raphendyr raphendyr left a comment

Choose a reason for hiding this comment

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

Some shell scripting notes, including notes from shellcheck.

@bjohansebas bjohansebas force-pushed the windows-test-v2 branch 2 times, most recently from 6c83144 to 3f081b2 Compare April 11, 2025 03:16
package.json Outdated
@@ -26,7 +26,7 @@
"eslint-plugin-markdown": "3.0.1",
"express": "4.17.3",
"mocha": "10.2.0",
"nyc": "15.1.0",
Copy link
Member Author

Choose a reason for hiding this comment

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

To fix a small issue with Windows during installation

@bjohansebas
Copy link
Member Author

The CI passes 🥳, wow, i really struggled with the old versions of Node.js.

package.json Outdated
@@ -39,7 +39,7 @@
},
"scripts": {
"lint": "eslint . && node ./scripts/lint-readme.js",
"test": "./test/support/gencert.sh && mocha --require test/support/env --check-leaks --bail --no-exit --reporter spec test/",
"test": "bash test/support/gencert.sh && mocha --require test/support/env --check-leaks --reporter spec test/",
Copy link
Member Author

Choose a reason for hiding this comment

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

And while we're at it, let's remove '--bail' so we can see which tests fail simultaneously instead of one by one

Copy link

@raphendyr raphendyr left a comment

Choose a reason for hiding this comment

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

Looks good to me (specially the shell part). I verified on my macos with npm run test and ./test/support/gencert.sh.

@bjohansebas
Copy link
Member Author

I just tried it now that I have Windows, and this doesn't work.

@bjohansebas bjohansebas force-pushed the windows-test-v2 branch 2 times, most recently from a678afe to bc8e000 Compare July 25, 2025 03:16
Signed-off-by: Sebastian Beltran <[email protected]>
@bjohansebas bjohansebas marked this pull request as draft July 25, 2025 03:30
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.

3 participants