ci: disable integration/cli-hello-world test (#21492)
it is non-hermetic and breaks often due to unpinned dependencies. PR Close #21492
This commit is contained in:
parent
43e1520260
commit
7c414fc746
|
@ -19,18 +19,21 @@ rm_cache
|
||||||
mkdir $cache
|
mkdir $cache
|
||||||
trap rm_cache EXIT
|
trap rm_cache EXIT
|
||||||
|
|
||||||
# We need to install `ng` but don't want to do it globally so we place it into `.ng-cli` folder.
|
# cli-hello-world test is disabled because it uses un-pinned dependencies
|
||||||
(
|
# TODO(alexeagle): re-enable when it's pinned
|
||||||
mkdir -p .ng-cli
|
|
||||||
cd .ng-cli
|
|
||||||
|
|
||||||
# workaround for https://github.com/yarnpkg/yarn/pull/4464 which causes cli to be installed into the root node_modules
|
# # We need to install `ng` but don't want to do it globally so we place it into `.ng-cli` folder.
|
||||||
echo '{"name": "ng-cli"}' > package.json
|
# (
|
||||||
yarn init -y
|
# mkdir -p .ng-cli
|
||||||
|
# cd .ng-cli
|
||||||
|
|
||||||
yarn add @angular/cli@$ANGULAR_CLI_VERSION --cache-folder ../$cache
|
# # workaround for https://github.com/yarnpkg/yarn/pull/4464 which causes cli to be installed into the root node_modules
|
||||||
)
|
# echo '{"name": "ng-cli"}' > package.json
|
||||||
./ng-cli-create.sh cli-hello-world
|
# yarn init -y
|
||||||
|
|
||||||
|
# yarn add @angular/cli@$ANGULAR_CLI_VERSION --cache-folder ../$cache
|
||||||
|
# )
|
||||||
|
# ./ng-cli-create.sh cli-hello-world
|
||||||
|
|
||||||
for testDir in $(ls | grep -v node_modules) ; do
|
for testDir in $(ls | grep -v node_modules) ; do
|
||||||
[[ -d "$testDir" ]] || continue
|
[[ -d "$testDir" ]] || continue
|
||||||
|
|
Loading…
Reference in New Issue