Skip to content
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

test: unit test multiple node versions in separate jobs #23714

Merged
merged 1 commit into from Sep 14, 2022

Conversation

jbedard
Copy link
Contributor

@jbedard jbedard commented Aug 9, 2022

This re-enables the multiple node versions/toolchains but runs them as separate circleci jobs to not overload the executors. Also disabling the node16 version of the one test that seems to crash with node16.

equal: [*default_nodeversion_major, << parameters.nodeversion >>]
steps:
- run:
command: yarn bazel test --test_tag_filters=-node16,-node<< parameters.nodeversion >>-broken //packages/...
Copy link
Contributor Author

@jbedard jbedard Aug 10, 2022

Choose a reason for hiding this comment

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

This ugly condition (and opposite below) is so this one catches all node14 and non-versioned, while the other is all specifically for node16. Could add more in the future by adding to the array at the top of the file and add the -node## to this line.

@jbedard jbedard requested a review from clydin August 17, 2022 18:54
@jbedard jbedard force-pushed the unit-node16 branch 2 times, most recently from 481e5e9 to faa6c2f Compare August 29, 2022 17:46
Copy link
Member

@josephperrott josephperrott left a comment

Choose a reason for hiding this comment

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

LGTM

@alan-agius4 alan-agius4 added target: patch This PR is targeted for the next patch release action: merge The PR is ready for merge by the caretaker labels Sep 14, 2022
@dgp1130 dgp1130 merged commit 4de9045 into angular:main Sep 14, 2022
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Oct 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants