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
Add master branch workflow for test262 tests #10556
Conversation
This PR adds a nightly job for running test262 tests. The results of these tests will be stored in build artifacts which will be used to compare with test262 runs on PR (future work!). Robin has also done a lot of work to ensure all babel packages are properly linked to the test runner. Additionally, Nicolo has helped in mentorship and contributions to babel-test262-runner which is used here. Co-authored-by: Robin Ricard <rricard2@bloomberg.net>
Co-Authored-By: Nicolò Ribaudo <nicolo.ribaudo@gmail.com>
node lib/download-node | ||
- run: | ||
name: Run Test262 | ||
command: node lib/run-tests I_AM_SURE | tee ~/test262.tap |
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.
Rather than linking every Babel package, what do you think of adding a --babelMonorepo ..
cli clag to lib/run-tests
?
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.
That is something I wanted to do in a followup PR in which I want to:
- Use something like yargs: http://yargs.js.org/
- Refactor existing cli arguments
- Add path to babel argument
- Add path to whitelist files so that they can remain colocated to babel/babel repo
- Add babel plugins/config argument
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.
Let's merge this before 5:00 UTC so that it generates the artifact
Thinking a bit more about this I am realizing that only running these tests nightly doesn’t achieve our end result. Because when I query master branch artifacts, it isn't necessary that I find it in the latest master job, if other non-nightly jobs have run. Based on that thinking, I’ll add a commit to make these tests always run on master, so that I can rely on them existing when I’m in a PR job. |
We're no longer giving xunit output to CircleCI because once it sees failing tests it will mark babel's master as broken. As a stopgap, it will render the test results in the mocha spec format, which is human readable.
Relates to: #4987 |
Fixes #10500
This PR adds a master branch job for running test262 tests. The results of
these tests will be stored in build artifacts which will be used to
compare with test262 runs on PR (future work!). Robin has also done a
lot of work to ensure all babel packages are properly linked to the
test runner. Additionally, Nicolo has helped in mentorship and
contributions to babel-test262-runner which is used here (babel/babel-test262-runner@c80353...399abd).
Co-authored-by: Robin Ricard rricard2@bloomberg.net