-
Notifications
You must be signed in to change notification settings - Fork 7
chore(ci): run all checks always MONGOSH-2125 #523
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
c0f1fee
to
80aa3f0
Compare
command: string, | ||
args: ReadonlyArray<string> | ||
): Promise<void> => { | ||
const proc = spawn(command, args); |
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.
Using execFile
from child_process
was causing ENOENT
trying to run npx
on windows.
@@ -448,51 +448,137 @@ describe('@mongodb-js/shell-bson-parser', function () { | |||
toISOString: (${newDate}).toISOString(), | |||
valueOf: (${newDate}.valueOf()), | |||
}`; | |||
expect(parse(input, options)).to.deep.equal({ |
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.
Had to rework this test due to race conditions where the test run could span multiple milliseconds, resulting in failures when comparing the fields that have millisecond precision.
Description
Changes the CI workflows to always run all tests, not just changed ones and fixes the tests failing on main.
Open Questions
Checklist