-
Notifications
You must be signed in to change notification settings - Fork 148
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
chore(jest): remove examples before running tests #868
Conversation
Codecov Report
@@ Coverage Diff @@
## main #868 +/- ##
==========================================
+ Coverage 95.26% 96.30% +1.04%
==========================================
Files 28 28
Lines 2112 2112
==========================================
+ Hits 2012 2034 +22
+ Misses 100 78 -22
Continue to review full report at Codecov.
|
This introduces another error:
|
@targos hah, I should have tested it 😅 Pushed a new commit which works locally 👍 |
There are errors related to "duplicate manual mocks": https://ci.nodejs.org/job/citgm-smoker-nobuild/1093/nodes=fedora-last-latest-x64/console |
those are just warnings, shouldn't affect the test run. Or does CITGM fail if there is output to stderr? |
No, CITGM fails if the command returned a non-zero exit code. |
You can find the logs here: https://ci.nodejs.org/job/citgm-smoker-nobuild/1093/nodes=fedora-last-latest-x64/console |
I don't see any test failures in that log, tho... I assume |
it hides output
With the last commit: |
I tried with the previous commit on my mac and it fails with a bunch of errors like this:
Edit: I forgot that we skip on darwin. Maybe that was the reason... |
I can reproduce the failure on Linux. |
I don't know if it's why it fails on our CI, but locally I have quite a lot of errors. I did: wget https://github.com/facebook/jest/archive/HEAD.tar.gz
tar xf HEAD.tar.gz
cd jest-91b94c812834753adced4f1a8be0e6fc8937bb1f
yarn
yarn remove-examples
yarn build:js
export CI=true
yarn test-ci-partial Output: https://gist.github.com/targos/d4bffbe8b51a7b2af5eb6b6200580f1f |
We're failing on CI using node 16.3.0 ourselves, on both mac and linux. Windows is passing. Not sure if it's the same failures or not, but it looks like the things we see on CI here (GH Actions times it out after 6 hours) EDIT: might be nodejs/node#39019 |
@targos could you retry now 16.4.0 is out? EDIT: no wait, the |
This reverts commit 47bc8f4.
First try with GitHub actions: https://github.com/nodejs/citgm/actions/runs/980018267 |
The only error in CI is related to a full disk on one machine, merging! |
Wonderful! Hopefully this can actually pick up all the regressions in |
CITGM is always runs before a release. I suppose the mongodb errors prevented us from seeing the real issue. |
See #867 (comment)
Checklist
npm test
passeshere