forked from angular/angular
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "ci: remove material-unit-tests failure blocklist (angular#32138…
…)" (angular#32226) This reverts commit 0660903 so we can add some tests to the blocklist. PR Close angular#32226
- Loading branch information
1 parent
dd6070a
commit 388578f
Showing
4 changed files
with
56 additions
and
0 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
/** | ||
* @license | ||
* Copyright Google Inc. All Rights Reserved. | ||
* | ||
* Use of this source code is governed by an MIT-style license that can be | ||
* found in the LICENSE file at https://angular.io/license | ||
*/ | ||
|
||
/** | ||
* Blocklist of unit tests from angular/material2 with ivy that are skipped when running on | ||
* angular/angular. As bugs are resolved, items should be removed from this blocklist. | ||
* | ||
* The `notes` section should be used to keep track of specific issues associated with the failures. | ||
*/ | ||
|
||
// clang-format off | ||
// tslint:disable | ||
|
||
window.testBlocklist = {}; | ||
// clang-format on |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
### Unit tests for Angular CDK/Material | ||
The unit tests from angular/material2 run on CircleCI under the `material-unit-tests` job. | ||
Known failing tests are skipped based on the blocklist in | ||
`tools/material-ci/angular_material_test_blocklist.js`. Whenever the root cause of a known failure | ||
is identified, the `notes` field for the corresponding tests should be updated. Whenever a failure | ||
is resolved, the corresponding tests should be removed from the blocklist. | ||
|
||
### Debugging | ||
To debug a failure, you need to work against the angular/material2 repo: | ||
1. Clone `angular/material2` | ||
2. Checkout the `ivy-2019` branch | ||
3. Run `yarn` | ||
4. Run `scripts/ivy/install-angular.sh path/to/local/angular/repo` | ||
5. Run `gulp test` | ||
|
||
### Regenerating the blocklist | ||
If a problem has been fixed, you can regenerate the blocklist by: | ||
1. Clone `angular/material2` | ||
2. Checkout the `ivy-2019` branch | ||
3. Run `yarn` | ||
4. Run `scripts/ivy/install-angular.sh path/to/local/angular/repo` | ||
5. Run `gulp test`. Let it finish. It will take a few minutes. | ||
6. Run `scripts/ivy/generate-blocklist.js path/to/local/angular/repo` | ||
7. Copy the new blocklist from `dist/angular_material_test_blocklist.js` |