-
Notifications
You must be signed in to change notification settings - Fork 25.3k
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
ci(docs-infra): run tests against local Angular packages too #26202
Conversation
1dd3f31
to
4353aa7
Compare
You can preview 1dd3f31 at https://pr26202-1dd3f31.ngbuilds.io/. |
You can preview 4353aa7 at https://pr26202-4353aa7.ngbuilds.io/. |
4353aa7
to
a6e89a1
Compare
You can preview a6e89a1 at https://pr26202-a6e89a1.ngbuilds.io/. |
a6e89a1
to
db28ec1
Compare
You can preview db28ec1 at https://pr26202-db28ec1.ngbuilds.io/. |
db28ec1
to
0a79555
Compare
You can preview 0a79555 at https://pr26202-0a79555.ngbuilds.io/. |
0a79555
to
e3a9c05
Compare
You can preview e3a9c05 at https://pr26202-e3a9c05.ngbuilds.io/. |
@@ -44,7 +44,7 @@ describe('ContributorService', () => { | |||
it('contributors observable should complete', () => { | |||
let completed = false; | |||
contribService.contributors.subscribe(undefined, undefined, () => completed = true); | |||
expect(true).toBe(true, 'observable completed'); | |||
expect(completed).toBe(true, 'observable completed'); |
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.
❤️
${CI_MODE} == "aio_e2e" || | ||
${CI_MODE} == "aio_tools_test" | ||
]]; then | ||
# angular.io: Install all yarn dependencies according to angular.io/yarn.lock | ||
travisFoldStart "yarn-install.aio" | ||
( | ||
# HACK (don't submit with this): Build Angular | ||
./build.sh --packages=compiler,core,elements --examples=false | ||
|
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.
LOL
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.
omg! :)
@@ -34,7 +35,7 @@ export class CopierService { | |||
this.fakeElem.style[ isRTL ? 'right' : 'left' ] = '-9999px'; | |||
|
|||
// Move element to the same position vertically | |||
const yPosition = window.pageYOffset || document.documentElement.scrollTop; | |||
const yPosition = window.pageYOffset || docElem.scrollTop; |
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.
I get the feeling that this change should be in a different commit ... 🤔
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.
👍 Agreed 😁
For the record, this was failing because of the updated lib.dom.d.ts
typings in latest TS (which is brought in with aio-use-local
).
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.
I moved it to a new commit, then it felt appropriate to upgrade TS to 3.1.x (which this change is related to), which in turn required upgrading Angular to 7.0.0-rc.0 😁
Now you have to review again 😛
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.
LGTM - but I wonder if we should be adding new jobs to CircleCI rather than Travis?
Or are we just not in a position to build AIO via CircleCI yet?
You can preview c18a77c at https://pr26202-c18a77c.ngbuilds.io/. |
@gkalpak Can you create a separate PR for patch? Specifically because of the changes to |
This is necessary to avoid webpack/webpack#8082, when installing dependencies without taking the lockfile into account (e.g. with `yarn aio-use-local` - locally or on CI).
c18a77c
to
7b34786
Compare
You can preview 7b34786 at https://pr26202-7b34786.ngbuilds.io/. |
Rebased this on master and changed PR target to |
This is necessary to avoid webpack/webpack#8082, when installing dependencies without taking the lockfile into account (e.g. with `yarn aio-use-local` - locally or on CI). PR Close #26202
This was accidentally merged with 4d506ac and 87f60bc. The build script is called in `scripts/ci/build.sh` (if necessary). PR Close angular#26202
This is necessary to avoid webpack/webpack#8082, when installing dependencies without taking the lockfile into account (e.g. with `yarn aio-use-local` - locally or on CI). PR Close angular#26202
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
This allows catching regressions earlier.