ci: re-enable components repo unit tests job by devversion · Pull Request #44832 · angular/angular · GitHub
Skip to content

ci: re-enable components repo unit tests job - #44832

Closed
devversion wants to merge 2 commits into
angular:masterfrom
devversion:ci/re-enable-components-ci-job
Closed

devversion wants to merge 2 commits into
angular:masterfrom
devversion:ci/re-enable-components-ci-job

Conversation

@devversion

Copy link
Copy Markdown
Member

Re-enables the components-repo unit tests job that we previously
disabled due to the devmode target change that caused conflicts
with angular/components patching ng_module.bzl of @angular/bazel.

@devversion
devversion marked this pull request as ready for review January 26, 2022 13:14
@devversion devversion added action: review The PR is still awaiting reviews from at least one requested reviewer area: build & ci Related the build and CI infrastructure of the project target: patch This PR is targeted for the next patch release labels Jan 26, 2022
@ngbot ngbot Bot modified the milestone: Backlog Jan 26, 2022
Re-enables the components-repo unit tests job that we previously
disabled due to the devmode target change that caused conflicts
with `angular/components` patching `ng_module.bzl` of `@angular/bazel`.
To speed up the components CI job (avoiding it being a bottleneck in FW),
we will stop building everything in `src/...`, but rather only build targets
which are needed to run all tests within `src/...`.

This notably should avoid unnecessary NPM package building. Arguably that
part would also be valuable to have, but we already test the `ng_package`
rule in FW itself, plus we run snapshot tests in the components repo as well.
@josephperrott
josephperrott force-pushed the ci/re-enable-components-ci-job branch from a854002 to 7f8afc9 Compare January 26, 2022 22:42

@josephperrott josephperrott left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@devversion devversion added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Jan 27, 2022
@AndrewKushnir

Copy link
Copy Markdown
Contributor

AndrewKushnir pushed a commit that referenced this pull request Jan 27, 2022
To speed up the components CI job (avoiding it being a bottleneck in FW),
we will stop building everything in `src/...`, but rather only build targets
which are needed to run all tests within `src/...`.

This notably should avoid unnecessary NPM package building. Arguably that
part would also be valuable to have, but we already test the `ng_package`
rule in FW itself, plus we run snapshot tests in the components repo as well.

PR Close #44832
AndrewKushnir pushed a commit that referenced this pull request Jan 27, 2022
Re-enables the components-repo unit tests job that we previously
disabled due to the devmode target change that caused conflicts
with `angular/components` patching `ng_module.bzl` of `@angular/bazel`.

PR Close #44832
AndrewKushnir pushed a commit that referenced this pull request Jan 27, 2022
To speed up the components CI job (avoiding it being a bottleneck in FW),
we will stop building everything in `src/...`, but rather only build targets
which are needed to run all tests within `src/...`.

This notably should avoid unnecessary NPM package building. Arguably that
part would also be valuable to have, but we already test the `ng_package`
rule in FW itself, plus we run snapshot tests in the components repo as well.

PR Close #44832
@angular-automatic-lock-bot

Copy link
Copy Markdown

@angular-automatic-lock-bot angular-automatic-lock-bot Bot locked and limited conversation to collaborators Feb 27, 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 area: build & ci Related the build and CI infrastructure of the project target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants