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

build: test angular.io/docs examples against RxJS v7 #42660

Closed
wants to merge 3 commits into from

Conversation

gkalpak
Copy link
Member

@gkalpak gkalpak commented Jun 25, 2021

Extend PR #41793 to run angular.io and docs-examples tests against RxJS v7 on CI (as a quick way to guard against potential regressions).

@google-cla

This comment has been minimized.

@google-cla google-cla bot added the cla: no label Jun 25, 2021
@mary-poppins
Copy link

You can preview b18dd9d at https://pr42660-b18dd9d.ngbuilds.io/.

@google-cla

This comment has been minimized.

@mary-poppins
Copy link

You can preview 4e4d7ca at https://pr42660-4e4d7ca.ngbuilds.io/.

@google-cla

This comment has been minimized.

@mary-poppins
Copy link

You can preview 1188781 at https://pr42660-1188781.ngbuilds.io/.

@jessicajaniuk jessicajaniuk added the area: build & ci Related the build and CI infrastructure of the project label Jun 25, 2021
@ngbot ngbot bot added this to the Backlog milestone Jun 25, 2021
@google-cla google-cla bot added cla: yes and removed cla: no labels Jun 25, 2021
@mary-poppins
Copy link

You can preview 6793089 at https://pr42660-6793089.ngbuilds.io/.

@gkalpak gkalpak marked this pull request as ready for review June 25, 2021 18:10
@gkalpak gkalpak added action: review The PR is still awaiting reviews from at least one requested reviewer target: patch This PR is targeted for the next patch release labels Jun 25, 2021
@mary-poppins
Copy link

You can preview cf69034 at https://pr42660-cf69034.ngbuilds.io/.

Copy link
Member

@crisbeto crisbeto left a comment

Choose a reason for hiding this comment

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

LGTM, aside from the one comment.

aio/tools/examples/run-example-e2e.js Show resolved Hide resolved
This commit adds support for excluding certain docs examples from the
command used to run tests. This is useful to run extra tests on CI that
might not be compatible with all examples (for example, run tests with
different versions of a dependency).

In a subsequent commit, this will be used to run tests against RxJS v7
as a quick way to catch potential regressions.
…th RxJS v7

This commit applies the necessary changes to make angular.io and (most)
docs examples compatible with both RxJS v6 and v7. It also adds new
steps to relevant CI jobs to test angular.io and docs examples against
RxJS v7 as well (to catch potential regressions).

NOTE:
Some of the docs examples are not compatible with RxJS v7 and are
therefore excluded from the tests. The SystemJS-based ngUpgrade
examples in particular are excluded, since they require a different
SystemJS configs to run against RxJS v6 and v7 and the extra complexity
of managing that is not worth it for the 4 affected examples.
@mary-poppins
Copy link

You can preview abb1cd0 at https://pr42660-abb1cd0.ngbuilds.io/.

@gkalpak gkalpak 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 Jun 29, 2021
@gkalpak
Copy link
Member Author

gkalpak commented Jun 29, 2021

Marking this for merging.
Thx, @dario-piotrowicz and @crisbeto, for the reviews ✨

@gkalpak gkalpak added comp: docs-infra action: review The PR is still awaiting reviews from at least one requested reviewer and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Jun 29, 2021
jessicajaniuk pushed a commit that referenced this pull request Jun 29, 2021
…42660)

This commit adds support for excluding certain docs examples from the
command used to run tests. This is useful to run extra tests on CI that
might not be compatible with all examples (for example, run tests with
different versions of a dependency).

In a subsequent commit, this will be used to run tests against RxJS v7
as a quick way to catch potential regressions.

PR Close #42660
jessicajaniuk pushed a commit that referenced this pull request Jun 29, 2021
…th RxJS v7 (#42660)

This commit applies the necessary changes to make angular.io and (most)
docs examples compatible with both RxJS v6 and v7. It also adds new
steps to relevant CI jobs to test angular.io and docs examples against
RxJS v7 as well (to catch potential regressions).

NOTE:
Some of the docs examples are not compatible with RxJS v7 and are
therefore excluded from the tests. The SystemJS-based ngUpgrade
examples in particular are excluded, since they require a different
SystemJS configs to run against RxJS v6 and v7 and the extra complexity
of managing that is not worth it for the 4 affected examples.

PR Close #42660
jessicajaniuk pushed a commit that referenced this pull request Jun 29, 2021
…th RxJS v7 (#42660)

This commit applies the necessary changes to make angular.io and (most)
docs examples compatible with both RxJS v6 and v7. It also adds new
steps to relevant CI jobs to test angular.io and docs examples against
RxJS v7 as well (to catch potential regressions).

NOTE:
Some of the docs examples are not compatible with RxJS v7 and are
therefore excluded from the tests. The SystemJS-based ngUpgrade
examples in particular are excluded, since they require a different
SystemJS configs to run against RxJS v6 and v7 and the extra complexity
of managing that is not worth it for the 4 affected examples.

PR Close #42660
@gkalpak gkalpak deleted the rxjs7-aio-tests branch June 30, 2021 11:04
crisbeto added a commit to crisbeto/angular that referenced this pull request Jul 29, 2021
We can't update the framework to rxjs7 until version 13, because it contains breaking changes, but we can allow users to opt into it since all of our code should be compatible.

These changes expand the allowed version range of rxjs and add an integration test to verify that we don't get compilation errors. Note that we also have a test that runs the AIO examples against rxjs 7 already (angular#42660).

Fixes angular#41897.
crisbeto added a commit to crisbeto/angular that referenced this pull request Jul 29, 2021
We can't update the framework to rxjs7 until version 13, because it contains breaking changes, but we can allow users to opt into it since all of our code should be compatible.

These changes expand the allowed version range of rxjs and add an integration test to verify that we don't get compilation errors. Note that we also have a test that runs the AIO examples against rxjs 7 already (angular#42660).

Fixes angular#41897.
@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 Jul 31, 2021
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 cla: yes 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

5 participants