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 pr #2

Open
wants to merge 206 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
206 commits
Select commit Hold shift + click to select a range
7ace9ab
build(popover-edit): Fix bazel rule to include cdk/scrolling (#15825)
andrewseguin Apr 15, 2019
52544b2
chore: bump version to 8.0.0-beta.2 w/ changelog (#15826)
andrewseguin Apr 15, 2019
99ef55b
docs(theming): add explicit customization guidance (#15769)
jelbourn Apr 16, 2019
b858854
docs(cdk): add `cdk-drag-handle` to `Styling` section (#15774)
jerome-nelson Apr 16, 2019
9a10f48
chore: fix miscellaneous typos in comments (#15783)
crisbeto Apr 16, 2019
82b5679
docs(readme): general update and refresh (#15784)
Splaktar Apr 16, 2019
d3d026b
feat(popover-edit): allow tabbing from popup to next/previous cell (#…
kseamon Apr 16, 2019
6bcb1da
refactor: move version export to core entry-point (#15700)
devversion Apr 16, 2019
3e17ce7
prototype(checkbox): create prototype checkbox based on MDC Web (#15782)
mmalerba Apr 16, 2019
02b8193
chore: add skeleton files for MDC-based implementations of card, butt…
mmalerba Apr 16, 2019
4143824
perf(popover-edit): collect common services into a single class for d…
kseamon Apr 17, 2019
7529d86
docs(button): fix jsdoc on MatAnchor (#15842)
andrewseguin Apr 18, 2019
85f95f0
build: make cdk-experimental and material-experimental build settings…
mmalerba Apr 18, 2019
f571633
build: add fixer to import spacing rule (#15818)
crisbeto Apr 18, 2019
79f8542
refactor(form-field): explicitly set static flag on all queries (#15720)
crisbeto Apr 18, 2019
a88d883
refactor(autocomplete): explicitly set static flag on all queries (#1…
crisbeto Apr 18, 2019
fd4bf62
refactor(sidenav): rework animation listeners to account for Ivy (#15…
crisbeto Apr 18, 2019
6358ab1
build: fix race condition when building styles (#15860)
crisbeto Apr 19, 2019
427c1e7
Fixes conjugation issue in table guide (#15847)
kjivan Apr 19, 2019
b7f064b
chore: fix typo in MDC skeleton code (#15863)
mmalerba Apr 19, 2019
388baa2
fix(autocomplete): make template ViewChild query `static: true` (#15877)
jelbourn Apr 22, 2019
a23d787
refactor(slide-toggle): constructor breaking changes for 8.0 (#15806)
crisbeto Apr 23, 2019
021b85a
fix(drag-drop): not reacting to changes in the cdkDragFreeDragPositio…
crisbeto Apr 23, 2019
cf76707
feat(table): add text column for simple columns (#14841)
andrewseguin Apr 23, 2019
20a879a
refactor(sidenav): constructor breaking changes for 8.0 (#15773)
crisbeto Apr 23, 2019
3a7beb9
refactor(menu): change menu item host listeners so they can be safely…
crisbeto Apr 24, 2019
a800c2a
chore(menu): minor file reorganization (#15850)
crisbeto Apr 24, 2019
9eeb4b5
cleanup: rename lib/ to material/ (#15889)
mmalerba Apr 24, 2019
b84a8a6
chore: fix typo (#15897)
mmalerba Apr 24, 2019
07a16de
chore: fix inherited host binding issue with sidenav (#15895)
matsko Apr 25, 2019
d1366ba
refactor: remove mixin classes from public api (#15743)
crisbeto Apr 25, 2019
8b5c0f1
fix(stepper): Fix visual flake in focusing stepper header (#15870)
mitchellwills Apr 25, 2019
8f23917
prototype(menu): create prototype menu based on MDC Web (#15857)
crisbeto Apr 25, 2019
87b2cf6
chore: move null config check into mat-using-mdc-typography (#15906)
mmalerba Apr 25, 2019
fde980c
chore: update "material2" to "components" (#15905)
jelbourn Apr 25, 2019
b730ba8
prototype(slide-toggle): create prototype menu based on MDC Web (#15893)
crisbeto Apr 25, 2019
7469c09
chore: minor prototype fixes (#15907)
crisbeto Apr 25, 2019
35fece8
ci: fix snapshots (#15908)
mmalerba Apr 25, 2019
98aa699
Fixed double quotes in table.md (#15910)
araslanov Apr 26, 2019
058ed0f
feat(popover-edit): Material version of popover edit (#15873)
kseamon Apr 26, 2019
a786a31
build(popover): switch lib to material (#15916)
andrewseguin Apr 26, 2019
c0d493f
prototype(button): create prototype button based on MDC Web (#15887)
andrewseguin Apr 26, 2019
e02fa3a
chore: update to angular 8.0.0-rc.1 (#15909)
mmalerba Apr 28, 2019
5147454
build: dev app not being updated when mdc theme files are changed (#1…
crisbeto Apr 29, 2019
84928d2
build: fix material-examples build (#15925)
mmalerba Apr 29, 2019
f21d1ae
chore: bump version to 8.0.0-rc.0 w/ changelog (#15927)
mmalerba Apr 29, 2019
03a9a39
docs: add README files for experimental packages (#15933)
jelbourn May 1, 2019
10c546c
refactor: don't depend on @Inject for _MatMenuBase DI (#15975)
alxhub May 10, 2019
9acb6ab
build: fix broken codeowners file (#15996)
devversion May 10, 2019
78bbc92
docs(drag-drop): add docs for cdkDragFreeDragPosition (#15978)
crisbeto May 10, 2019
f8a2a9d
chore: switch examples to secondary entry-points (#15977)
devversion May 10, 2019
133a0f9
chore: switch dev-app to secondary entry-points (#15983)
devversion May 10, 2019
8ab0f63
chore: switch e2e-app to secondary entry-points (#15987)
devversion May 10, 2019
de45fc0
build: add rule to enforce static queries (#15963)
crisbeto May 10, 2019
c185950
docs(table): improve TableExpandableRowsExample performance (#15962)
May 10, 2019
7774ae1
fix(popover-edit): direction not being passed to overlay (#15951)
crisbeto May 10, 2019
cbad345
docs(autocomplete): document that mat-autocomplete can be used withou…
crisbeto May 10, 2019
3968918
refactor(popover-edit): remove unnecessary components (#15954)
crisbeto May 10, 2019
fb15e89
build: add rule to warn for undecorated base classes (#15976)
devversion May 10, 2019
99f3c2d
chore: add skeleton files for MDC-based implementation of chips (#16002)
vanessanschmitt May 10, 2019
70bc4d5
fix(portal): correct return type of TemplatePortal.attach (#14602)
mina-skunk May 13, 2019
50b9fe2
build: add linting for class member naming (#15812)
crisbeto May 13, 2019
40b335c
fix(list): form control cleared when list is destroyed (#16005)
crisbeto May 13, 2019
a632067
fix(drag-drop): error if item is removed while dragging (#15950)
crisbeto May 13, 2019
fc0b971
refactor(drag-drop): add current index to entered event (#15932)
crisbeto May 13, 2019
2e18570
refactor(badge): add method that exposes badge content element (#15869)
crisbeto May 13, 2019
8494f03
fix(scrolling): virtual scroll not disconnecting from data source on …
crisbeto May 13, 2019
00226f0
fix(overlay): add panelClass from position to the overlay (#15853)
ienzam May 13, 2019
5aaca54
feat(autocomplete): add input to control position (#15834)
crisbeto May 13, 2019
399f25e
feat(drag-drop): allow element to be passed in as the boundary (#15810)
crisbeto May 13, 2019
31e72a7
fix(drag-drop): preview element not maintaining canvas data (#15808)
crisbeto May 13, 2019
6c03e2f
feat(radio): support theme color on mat-radio-group (#15741)
crisbeto May 13, 2019
1ac9386
fix(drag-drop): don't allow user to move item into container that isn…
crisbeto May 13, 2019
b1c10d1
fix(overlay): allow overlay sass variables to be overwritten (#15507)
crisbeto May 13, 2019
d4579e6
refactor(overlay): remove explicit subscription count (#15455)
crisbeto May 13, 2019
941a0d9
fix(menu): prevent menu from collapsing to less than one item (#15454)
crisbeto May 13, 2019
f7c53d6
refactor(drag-drop): remove manual observers count (#15441)
vitaliy-bobrov May 13, 2019
e630bd6
fix(drag-drop): allow for element in DropListRef to be changed (#15091)
crisbeto May 13, 2019
f6cd86e
fix(select): optionSelectionChanges not emitting when the list of opt…
crisbeto May 13, 2019
43b4fec
fix(checkbox): don't show hover ripples on touch devices (#13700)
crisbeto May 13, 2019
3712b8f
chore: fix lint failure (#16008)
crisbeto May 13, 2019
7794304
fix(expansion-panel): don't handle events with modifier keys in accor…
crisbeto May 13, 2019
cf03621
fix(icon): handle unescaped characters in names (#15678)
crisbeto May 13, 2019
623cd06
fix(button-toggle): clear name from host node (#15668)
crisbeto May 13, 2019
58db9db
fix(menu): trigger not unsubscribing from panel close stream (#15667)
crisbeto May 13, 2019
4a2d4ef
fix(datepicker): screen reader reading out role twice (#15663)
crisbeto May 13, 2019
c039987
fix(datepicker): add focus indication in high contrast mode (#15661)
crisbeto May 13, 2019
28743f1
fix(select): add duration to live announcer message (#15655)
crisbeto May 13, 2019
07e8028
refactor(autocomplete): rework cases not using document token (#15366)
crisbeto May 13, 2019
5fb6125
fix(chips): focus lost if last chip is deleted (#15344)
crisbeto May 13, 2019
e488152
fix(chips): unable to tab out of chip list with input on firefox (#15…
crisbeto May 13, 2019
1218592
fix(autocomplete): not emitting opened event if options come in after…
crisbeto May 13, 2019
a833dfb
fix(button-toggle): value cleared when replacing with list that still…
crisbeto May 13, 2019
35a045c
feat(drag-drop): include dragged distance in events (#15947)
crisbeto May 13, 2019
94c27b5
chore: bump version to 8.0.0-rc.1 w/ changelog (#16014)
andrewseguin May 13, 2019
b5889ca
refactor(sidenav): expose api to update content margins (#15833)
crisbeto May 14, 2019
6643735
fix(button): ripples not being clipped to border radius on safari (#1…
crisbeto May 14, 2019
b4a9c62
fix(checkbox): incorrect ripple color when unchecked (#13569)
crisbeto May 14, 2019
0c62798
fix(datepicker): use narrower value for aria-haspopup (#15666)
crisbeto May 14, 2019
20a0930
fix(chips): able to remove disabled chip via remove button (#15732)
crisbeto May 14, 2019
917a52e
fix(slide-toggle): focus ripple not hiding after click/touch (#13562)
devversion May 14, 2019
92dc089
docs(text-field): change text-field autosize example to minRows="1" (…
outofgamut May 14, 2019
816a833
build: add job to run tests with ivy
devversion May 14, 2019
58fc429
refactor(datepicker): export internal multi-year view symbols
devversion May 14, 2019
7f12235
fix(chips): chip-list doesn't pick up wrapped chips with ivy
devversion May 14, 2019
e774692
fix(table): text-column throws if name input is set eagerly with ivy
devversion May 14, 2019
5bf0487
fix(propover-edit): incorrect template root note retrieved in ivy
devversion May 14, 2019
dc859fe
build: remove example-module from gitignore
devversion May 16, 2019
301371a
fix(table): schematic generates code that throws an exception (#15800)
Splaktar May 17, 2019
bb9a5ee
build: bump to Angular 8.0.0-rc.4 (#16045)
crisbeto May 18, 2019
3a237bd
chore: add editorconfig (#16042)
roboshoes May 18, 2019
786560e
build: fine-grain dependencies for mdc prototypes (#16071)
devversion May 20, 2019
054dcc0
build: no longer use deprecated api in sass_bundle rule (#16064)
devversion May 20, 2019
b66a9a2
build: fix examples package generating invalid metadata (#16073)
devversion May 20, 2019
59fc0cb
build: update bazel nodejs rules to v0.29.0 (#16063)
devversion May 20, 2019
558295b
fix(popover-edit): rework host listeners to account for changes in Iv…
crisbeto May 20, 2019
0908be7
refactor: mark injectable refs with `@Injectable` (#15584)
jelbourn May 21, 2019
9519192
Revert "refactor: mark injectable refs with `@Injectable`" (#16079)
mmalerba May 21, 2019
5259f22
fix(table): error in Ivy for coerced multiTemplateDataRows (#16047)
crisbeto May 21, 2019
b3f8480
chore: bump tslint version (#16084)
crisbeto May 22, 2019
f8be532
chore: update github issue templates; add docs/troubleshooting (#16077)
andrewseguin May 22, 2019
6c7fd30
fix(schematics): avoid lint warning in code generated by nav schemati…
crisbeto May 22, 2019
4247303
build: run mdc prototype tests with bazel
devversion May 22, 2019
9bb09eb
chore: fix mdc-menu prototype not working with ivy
devversion May 23, 2019
6cf2dd2
chore: fix mdc-checkbox not working with ivy
devversion May 23, 2019
92448bc
build: fix tslint being unable to type check cross-package references
devversion May 23, 2019
254fb49
fix(table): better error message if text column is missing a name
crisbeto May 23, 2019
bdc6811
fix(badge): throw proper error when set on a non-element node
crisbeto May 23, 2019
86da318
test: fix flaky slide-toggle test with pending timer task
devversion May 23, 2019
dc51691
fix(ng-update): type imports not migrated to secondary entry-points (…
devversion May 24, 2019
5c9c79d
chore: bump to Angular 8.0.0-rc.5 (#16106)
crisbeto May 24, 2019
f34bf7e
build: source maps for some dependencies not exposed during unit test…
crisbeto May 24, 2019
f1bd252
test(popover-edit): fix tests leaking overlay containers (#16103)
crisbeto May 24, 2019
755fd56
build: fill in missing MATERIAL_EXPERIMENTAL_PACKAGES (#16113)
mmalerba May 24, 2019
eef132b
chore: bump version to 8.0.0-rc.2 w/ changelog (#16116)
jelbourn May 24, 2019
a3856c7
fix(ng-update): do not always use double quotes for generated imports…
devversion May 28, 2019
312b6f4
chore: set Angular version requirement for version 8 (#16134)
jelbourn May 28, 2019
be0dae8
chore: go down to rc.1 so that the stage-release script works (#16135)
jelbourn May 28, 2019
df926c1
chore: bump version to 8.0.0 w/ changelog (#16140)
jelbourn May 28, 2019
612a738
chore: move e2e tests into component source dirs (#16117)
mmalerba May 29, 2019
09427f5
docs(menu): reflect default overlap trigger behavior (#16125)
crisbeto May 31, 2019
04a95c7
Fix incorrect term in table documentation (#16138)
mattleff May 31, 2019
2b07377
build: release-staging script should have option to not bump version …
devversion May 31, 2019
b261afa
test(schematics): move away from deprecated test API (#16150)
crisbeto May 31, 2019
2adf629
fix(ng-update): do not report form-field breaking change from v6 (#16…
devversion May 31, 2019
778fc34
docs(table): improve hover color contrast in table-expandable-rows-ex…
wnvko Jun 3, 2019
8ba2f22
build: add linting for bazel build files (#16090)
devversion Jun 3, 2019
ab76eaa
fix(popover-edit): unable to change type of popover buttons (#16058)
crisbeto Jun 3, 2019
461d539
feat(popover-edit): accessible row hover content (#15917)
kseamon Jun 3, 2019
6b2a390
feat(bottom-sheet): allow for scroll strategy to be configured (#15535)
crisbeto Jun 3, 2019
aadfc88
fix(drag-drop): error if drag sequence is started while another one i…
crisbeto Jun 3, 2019
15038e3
feat(style): allow palettes to specify a separate hue for colored tex…
benelliott Jun 3, 2019
3b1ae05
fix(drag-n-drop): ignore consecutive touchmove events on drag item on…
anotherpit Jun 3, 2019
5a3e206
refactor: remove calls to deprecated rxjs subscribe signature (#16164)
crisbeto Jun 4, 2019
c116533
fix(progress-spinner): non-default diameter indeterminate animation n…
crisbeto Jun 4, 2019
2d93c6d
fix(overlay): stop using capture phase for overlay keyboard handling …
stevenyxu Jun 4, 2019
5c51301
feat(radio): add provider for default color input (#15811)
jerome-nelson Jun 4, 2019
e7b7b30
refactor(material): update repository name in (#16205)
LayZeeDK Jun 5, 2019
8ecfc72
fix: prevent default on escape key presses (#16202)
crisbeto Jun 5, 2019
57b9902
feat(popover-edit): Helper class to reduce form state preservation bo…
kseamon Jun 5, 2019
7baac27
feat(cdk-experimental/testing): Bring in component harness (#16089)
mmalerba Jun 5, 2019
ffad004
feat(common): Add dev-mode sanity check for mismatched versions of cd…
macjohnny Jun 6, 2019
70aee92
build: publish-release script should run npm login before build (#16188)
devversion Jun 6, 2019
a011363
fix(material): fix table generator schematic (#16204)
LayZeeDK Jun 6, 2019
f7ce721
fix(ng-update): parse cli workspace config as json5 (#16218)
devversion Jun 6, 2019
f6903da
refactor(ng-generate): use .template suffix for schematic template fi…
devversion Jun 7, 2019
8c4f25f
feat(a11y): allow for element to be used as message in AriaDescriber …
crisbeto Jun 7, 2019
8daaf4d
fix(scrolling): virtual scroll throw off if directive injects ViewCon…
crisbeto Jun 7, 2019
98b880b
docs: MatMenu api docs are not generated (#16219)
devversion Jun 7, 2019
4a934c6
chore: remove `indent_size = 2` from editorconfig as it messes up the…
mmalerba Jun 10, 2019
2b37515
refactor(core): remove version placeholder workaround (#16231)
devversion Jun 10, 2019
c1e07ad
chore: bump version to 8.0.1 w/ changelog (#16242)
josephperrott Jun 10, 2019
7f74211
Revert "refactor(core): remove version placeholder workaround" (#16246)
mmalerba Jun 10, 2019
4560306
docs(radio): Correct providers syntax in default color configuration …
josephperrott Jun 10, 2019
0bfcb32
chore: bazel lint error message printing out wrong fix command (#16258)
crisbeto Jun 10, 2019
f61730a
fix(overlay): incorrectly calculating position when page is scrolled …
crisbeto Jun 10, 2019
c3eac17
feat(expansion): allow expansion toggle indicator positioning (#16257)
josephperrott Jun 11, 2019
cfc3373
chore: add scaffolding for mdc-based tabs (#16270)
crisbeto Jun 11, 2019
2e047b4
fix(dialog): not moving focus to container if autoFocus is disabled a…
crisbeto Jun 11, 2019
11a4ff0
fix(card): disable all animations when using NoopAnimationsModule (#1…
crisbeto Jun 11, 2019
8139358
build: option to ignore ci checks when staging release (#16262)
devversion Jun 12, 2019
e050b64
chore: fix spelling mistake (#16272)
shahmeet999 Jun 12, 2019
57b507b
build: update yarn to v1.16.0 (#16260)
devversion Jun 12, 2019
c3ff175
chore: update marked (#16277)
mmalerba Jun 12, 2019
69b1b2e
fix(popover-edit): remove fallthroughs in switch statement (#16281)
josephperrott Jun 12, 2019
933d44c
chore: enable noFallthroughCasesInSwitch in the project's tsconfigs (…
josephperrott Jun 12, 2019
86c626a
fix(chips): disable all animations when using NoopAnimationsModule (#…
crisbeto Jun 13, 2019
27a08cc
fix(tabs): disable all animations when using NoopAnimationsModule (#1…
crisbeto Jun 13, 2019
f28a294
feat(datepicker): align multi-year-view based on minDate and maxDate …
jysoo Jun 17, 2019
30127fa
chore: fix misspelled aria-labelledby in public API description (#15985)
yjcxy12 Jun 17, 2019
22268c3
refactor(cdk-experimental/testing): refactor the ComponentHarness API…
mmalerba Jun 18, 2019
9744b31
chore: temporarily disable ivy_snapshot_test_cronjob on CircleCI (#16…
josephperrott Jun 19, 2019
7a04788
fix(experimental/dialog): set aria-modal on dialog container (#16323)
crisbeto Jun 19, 2019
60c9ebc
fix(checkbox): hover indication showing when disabled (#16159)
crisbeto Jun 19, 2019
19af6ec
refactor(mdc-prototypes): do not mark components dirty in input sette…
devversion Jun 19, 2019
4002140
fix(list): matching item not preselected if added after init (#16080)
crisbeto Jun 19, 2019
b15a7ec
perf(drag-drop): use narrower check for touch events (#16082)
crisbeto Jun 19, 2019
b0d1bad
fix(expansion-panel): header animating on init when using non-default…
crisbeto Jun 19, 2019
a2d91e4
chore(button): re-use common function for getting native element (#16…
codef0rmerz Jun 19, 2019
4b82786
fix(autocomplete): alt + up arrow to close panel not working (#15364)
crisbeto Jun 19, 2019
6a7fc81
feat(cdk-experimental/testing): Adds a `HarnessPredicate` class (#16319)
mmalerba Jun 19, 2019
791e34d
feat(select): configurable panel max-height
RudolfFrederiksen Apr 12, 2019
12bba90
use exported constant for select panelMaxHeight init
RudolfFrederiksen Jun 21, 2019
7aced88
add unit tests for select panelMaxHeight
RudolfFrederiksen Jun 21, 2019
7cbbd7b
add new panelMaxHeight parameter to select goldenfile
RudolfFrederiksen Jun 21, 2019
c5323d9
add select panelMaxHeight documentation example
RudolfFrederiksen Jun 21, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
113 changes: 98 additions & 15 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Configuration file for https://circleci.com/gh/angular/material2
# Configuration file for https://circleci.com/gh/angular/components

# Note: YAML anchors allow an object to be re-used, reducing duplication.
# The ampersand declares an alias for an object, then later the `<<: *name`
Expand Down Expand Up @@ -54,31 +54,41 @@ var_8: &gcp_decrypt_token "angular"
# in sync. Unlike in Travis, we don't need to manually purge the node modules if stale because
# CircleCI automatically discards the cache if the checksum of the lock file has changed.
var_9: &yarn_install
run: yarn install --frozen-lockfile --non-interactive
run:
name: "Installing project dependencies"
command: yarn install --frozen-lockfile --non-interactive

# Anchor that can be used to download and install Yarn globally in the bash environment.
var_10: &yarn_download
run:
name: "Downloading and installing Yarn"
command: |
touch $BASH_ENV
curl -o- -L https://yarnpkg.com/install.sh | PROFILE=$BASH_ENV bash -s -- --version "1.16.0"

# Copies the Bazel config which is specifically for CircleCI to a location where Bazel picks it
# up and merges it with the project-wide bazel configuration (tools/bazel.rc)
var_10: &copy_bazel_config
var_11: &copy_bazel_config
# Set up the CircleCI specific bazel configuration.
run: sudo cp ./.circleci/bazel.rc /etc/bazel.bazelrc

# Sets up a different Docker image that includes a moe recent Firefox version which
# is needed for headless testing.
var_11: &docker-firefox-image
var_12: &docker-firefox-image
# TODO(devversion): Temporarily use a image that includes Firefox 62 because the
# ngcontainer image does include an old Firefox version that does not support headless.
- image: circleci/node:11.4.0-browsers

# Attaches the release output which has been stored in the workspace to the current job.
# https://circleci.com/docs/2.0/workflows/#using-workspaces-to-share-data-among-jobs
var_12: &attach_release_output
var_13: &attach_release_output
attach_workspace:
at: dist/

# Branch filter that we can specify for jobs that should only run on publish branches. This filter
# is used to ensure that not all upstream branches will be published as Github builds
# (e.g. revert branches, feature branches)
var_13: &publish_branches_filter
var_14: &publish_branches_filter
branches:
only:
- master
Expand All @@ -92,15 +102,15 @@ var_13: &publish_branches_filter
# In order to reduce duplication we use a YAML anchor that just always excludes the "_presubmit"
# branch. We don't want to run Circle for the temporary "_presubmit" branch which is reserved
# for the caretaker.
var_14: &ignore_presubmit_branch_filter
var_15: &ignore_presubmit_branch_filter
branches:
ignore:
- "_presubmit"
- "ivy-2019"

# Runs a script that sets up the Bazel remote execution. This will be used by jobs that run
# Bazel primarily and should benefit from remote caching and execution.
var_15: &setup_bazel_remote_execution
var_16: &setup_bazel_remote_execution
run:
name: "Setup bazel RBE remote execution"
command: ./scripts/circleci/bazel/setup-remote-execution.sh
Expand Down Expand Up @@ -131,7 +141,7 @@ jobs:
- *setup_bazel_remote_execution

- run: bazel build src/... --build_tag_filters=-docs-package
- run: bazel test src/... --build_tag_filters=-docs-package
- run: bazel test src/... --build_tag_filters=-docs-package --test_tag_filters=-e2e

# Note: We want to save the cache in this job because the workspace cache also
# includes the Bazel repository cache that will be updated in this job.
Expand Down Expand Up @@ -168,7 +178,7 @@ jobs:
- *copy_bazel_config
- *setup_bazel_remote_execution

- run: bazel test e2e/...
- run: bazel test src/... --test_tag_filters=e2e

# ------------------------------------------------------------------------------------------
# Job that runs the unit tests on locally installed browsers (Chrome and Firefox headless).
Expand All @@ -180,6 +190,7 @@ jobs:
steps:
- *checkout_code
- *restore_cache
- *yarn_download
- *yarn_install

- run: ./scripts/circleci/run-local-browser-tests.sh
Expand All @@ -197,6 +208,7 @@ jobs:
steps:
- *checkout_code
- *restore_cache
- *yarn_download
- *yarn_install

- run: ./scripts/circleci/run-browserstack-tests.sh
Expand All @@ -217,6 +229,7 @@ jobs:
steps:
- *checkout_code
- *restore_cache
- *yarn_download
- *yarn_install

- run: ./scripts/circleci/run-saucelabs-tests.sh
Expand All @@ -230,6 +243,7 @@ jobs:
steps:
- *checkout_code
- *restore_cache
- *yarn_download
- *yarn_install
- *attach_release_output

Expand All @@ -244,6 +258,7 @@ jobs:
steps:
- *checkout_code
- *restore_cache
- *yarn_download
- *yarn_install

- run: yarn gulp ci:prerender
Expand All @@ -256,8 +271,10 @@ jobs:
steps:
- *checkout_code
- *restore_cache
- *yarn_download
- *yarn_install

- run: ./scripts/circleci/lint-bazel-files.sh
- run: yarn gulp ci:lint

# -------------------------------------------------------------------------------------------
Expand All @@ -270,6 +287,7 @@ jobs:
steps:
- *checkout_code
- *restore_cache
- *yarn_download
- *yarn_install

- run: yarn gulp ci:build-release-packages
Expand Down Expand Up @@ -341,11 +359,71 @@ jobs:
steps:
- *checkout_code
- *restore_cache
- *yarn_download
- *yarn_install

- run: node ./scripts/circleci/setup-angular-snapshots.js
- run: ./scripts/circleci/run-local-browser-tests.sh


# ----------------------------------------------------------------------------
# Job that runs all Bazel tests against Ivy with the current Angular version
# specified in the project dev dependencies.
# ----------------------------------------------------------------------------
ivy_test:
<<: *job_defaults
resource_class: xlarge
environment:
GCP_DECRYPT_TOKEN: *gcp_decrypt_token
steps:
- *checkout_code
- *restore_cache
- *copy_bazel_config
- *setup_bazel_remote_execution
- *yarn_download
- *yarn_install

# Setup Angular ivy snapshots built with ngtsc but locked to a specific tag. We
# cannot determine the tag automatically based on the Angular version specified in
# the "package.json" because the SHA is not known for the given release. Nor can
# we use ngcc to apply the ivy switches because ngcc currently does not handle the
# UMD format which is used by Bazel when running tests. UMD processing is in
# progress and tracked with FW-85.
- run: node ./scripts/circleci/setup-angular-snapshots.js --tag 8.0.0-rc.0-ivy-aot+bd37622
# Disable type checking when building with Ivy. This is necessary because
# type checking is not complete yet and can incorrectly break compilation.
# Issue is tracked with FW-1004.
- run: sed -i "s/\(_ENABLE_NG_TYPE_CHECKING = \)True/\1False/g" tools/defaults.bzl
# Run project tests with ngtsc and the Ivy Angular packages.
- run: bazel build src/... --build_tag_filters=-docs-package --define=compile=aot
- run: bazel test src/... --build_tag_filters=-docs-package --define=compile=aot --test_tag_filters=-e2e

# ----------------------------------------------------------------------------
# Job that runs all Bazel tests against Ivy from angular/angular#master.
# ----------------------------------------------------------------------------
ivy_snapshot_test_cronjob:
<<: *job_defaults
resource_class: xlarge
environment:
GCP_DECRYPT_TOKEN: *gcp_decrypt_token
steps:
- *checkout_code
- *restore_cache
- *copy_bazel_config
- *setup_bazel_remote_execution
- *yarn_download
- *yarn_install

# Setup Angular ivy snapshots built with ngtsc.
- run: node ./scripts/circleci/setup-angular-snapshots.js --tag master-ivy-aot
# Disable type checking when building with Ivy. This is necessary because
# type checking is not complete yet and can incorrectly break compilation.
# Issue is tracked with FW-1004.
- run: sed -i "s/\(_ENABLE_NG_TYPE_CHECKING = \)True/\1False/g" tools/defaults.bzl
# Run project tests with ngtsc and the Ivy Angular packages.
- run: bazel build src/... --build_tag_filters=-docs-package --define=compile=aot
- run: bazel test src/... --build_tag_filters=-docs-package --define=compile=aot --test_tag_filters=-e2e

# ----------------------------------------------------------------------------------------
# Workflow definitions. A workflow usually groups multiple jobs together. This is useful if
# one job depends on another.
Expand All @@ -360,6 +438,8 @@ workflows:
jobs:
- bazel_build_test:
filters: *ignore_presubmit_branch_filter
- ivy_test:
filters: *ignore_presubmit_branch_filter
- api_golden_checks:
filters: *ignore_presubmit_branch_filter

Expand Down Expand Up @@ -398,17 +478,20 @@ workflows:
- lint:
filters: *ignore_presubmit_branch_filter

# Snapshot tests workflow that is scheduled to run all specified jobs at midnight everyday.
# Snapshot tests workflow that is scheduled to run all specified jobs every hour.
# This workflow runs various jobs against the Angular snapshot builds from Github.
snapshot_tests:
jobs:
# Note that we need additional jobs for the nightly snapshot tests because there is no
# easy way to detect whether a job runs inside of a cronjob or specific workflow.
# See: https://circleci.com/ideas/?idea=CCI-I-295
# Note that we need additional jobs for the cronjob snapshot tests because there
# is no easy way to detect whether a job runs inside of a cronjob or specific
# workflow. See: https://circleci.com/ideas/?idea=CCI-I-295
- snapshot_tests_local_browsers
# TODO(devversion): Renable once we are able to update to the version of angular
# and bazel build rules which corrects our errors.
# - ivy_snapshot_test_cronjob
triggers:
- schedule:
cron: "0 0 * * *"
cron: "0 * * * *"
filters:
branches:
only:
Expand Down
6 changes: 6 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
root = true

[*]
end_of_line = lf
insert_final_newline = true
indent_style = space
Loading