-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
GitHub actions #7035
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
GitHub actions #7035
Conversation
I saw that you were fooled by the version selector like me! |
Yes. Tests for 4.4.2 failed. Maybe we should address this issue on a separate pr. I will downgrade to 4.0.21. |
Now we just need to pray for the flaky tests do not fail :) |
@davimacedo mongo version is correct i think, npm run lint seems to cancel the workflow don't know why |
No.. error still in mongodb-runner: |
I will revert back to ubuntu 16 |
I didn't know that a failure in the matrix could cause the other matrix to crash. |
@davimacedo it's not a problem with ubuntu it's the Node Version, mongodb runner is not usable under Node14/15 |
By default, they cancel the other jobs within the same matrix but there is an option that you change this behavior. I think it is better to actually cancel though, right? |
pull request was sent but new package version not released yet: mongodb-js/runner#174 |
Makes sense. |
In this case I will go back to 18.04 and remove the newest node. We put it back once mongodb supports it. ok? |
finally passed through mongodb-runner |
I think we are good now. Maybe wait to see if @dplewis has any additional thoughts and merge? |
@davimacedo is it possible the reduce the codecov threshold ? |
It looks it is possible: https://docs.codecov.io/docs/commit-status |
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.
LGTM!
@dplewis I took a quick look at this because you mentioned it; looking into the CI logs I see some misconfigs like different MongoDB versions in pretest vs. test, also MongoDB >=4.2 is not compatible with MMAPv1 storage engine, mongo-runner will simply fail to start. Anyway, tests pass now for all recent MongoDB versions in #7161. |
branches: | ||
- '**' | ||
env: | ||
COVERAGE_OPTION: ./node_modules/.bin/nyc |
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.
@davimacedo just wondering, what is COVERAGE_OPTION
used for? I haven't found any references.
Edit: Found a ref, I think that can be removed, maybe from travis ci?
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.
I believe it makes this to work.
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.
How so?
I believe it was part of a script in package.json, that has been removed:
cross-env NODE_ENV=test TESTING=1 ./node_modules/.bin/babel-node $COVERAGE_OPTION ./node_modules/jasmine/bin/jasmine.js
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.
You might be right. Let's try to remove it and see what happens.
No description provided.