This reverts commit c42041b419
.
PR Close #42583
This commit is contained in:
parent
76484f95c3
commit
bf0e82cde6
|
@ -669,6 +669,11 @@ jobs:
|
||||||
name: Starting Saucelabs tunnel service
|
name: Starting Saucelabs tunnel service
|
||||||
command: ./tools/saucelabs/sauce-service.sh run
|
command: ./tools/saucelabs/sauce-service.sh run
|
||||||
background: true
|
background: true
|
||||||
|
# add module umd tsc compile option so the test can work
|
||||||
|
# properly in the legacy browsers
|
||||||
|
- run: yarn tsc -p packages --module UMD
|
||||||
|
- run: yarn tsc -p modules --module UMD
|
||||||
|
- run: yarn bazel build //packages/zone.js:npm_package
|
||||||
# Build test fixtures for a test that rely on Bazel-generated fixtures. Note that disabling
|
# Build test fixtures for a test that rely on Bazel-generated fixtures. Note that disabling
|
||||||
# specific tests which are reliant on such generated fixtures is not an option as SystemJS
|
# specific tests which are reliant on such generated fixtures is not an option as SystemJS
|
||||||
# in the Saucelabs legacy job always fetches referenced files, even if the imports would be
|
# in the Saucelabs legacy job always fetches referenced files, even if the imports would be
|
||||||
|
@ -677,26 +682,10 @@ jobs:
|
||||||
- run:
|
- run:
|
||||||
name: Preparing Bazel-generated fixtures required in legacy tests
|
name: Preparing Bazel-generated fixtures required in legacy tests
|
||||||
command: |
|
command: |
|
||||||
yarn bazel build \
|
yarn bazel build //packages/core/test:downleveled_es5_fixture
|
||||||
//packages/core/test:downleveled_es5_fixture \
|
|
||||||
//packages/common/locales
|
|
||||||
|
|
||||||
# Needed for the ES5 downlevel reflector test in `packages/core/test/reflection`.
|
# Needed for the ES5 downlevel reflector test in `packages/core/test/reflection`.
|
||||||
mkdir -p dist/all/@angular/core/test/reflection/
|
|
||||||
cp dist/bin/packages/core/test/reflection/es5_downleveled_inheritance_fixture.js \
|
cp dist/bin/packages/core/test/reflection/es5_downleveled_inheritance_fixture.js \
|
||||||
dist/all/@angular/core/test/reflection/es5_downleveled_inheritance_fixture.js
|
dist/all/@angular/core/test/reflection/es5_downleveled_inheritance_fixture.js
|
||||||
# Locale files are needed for i18n tests running within Saucelabs. These are added
|
|
||||||
# directly as sources so that the TypeScript compilation of `/packages/tsconfig.json`
|
|
||||||
# can succeed. Note that the base locale and currencies files are checked-in, so
|
|
||||||
# we do not need to re-generate those through Bazel.
|
|
||||||
mkdir -p packages/common/locales/extra
|
|
||||||
cp dist/bin/packages/common/locales/*.ts packages/common/locales
|
|
||||||
cp dist/bin/packages/common/locales/extra/*.ts packages/common/locales/extra
|
|
||||||
# add module umd tsc compile option so the test can work
|
|
||||||
# properly in the legacy browsers
|
|
||||||
- run: yarn tsc -p packages --module UMD
|
|
||||||
- run: yarn tsc -p modules --module UMD
|
|
||||||
- run: yarn bazel build //packages/zone.js:npm_package
|
|
||||||
- run:
|
- run:
|
||||||
# Waiting on ready ensures that we don't run tests too early without Saucelabs not being ready.
|
# Waiting on ready ensures that we don't run tests too early without Saucelabs not being ready.
|
||||||
name: Waiting for Saucelabs tunnel to connect
|
name: Waiting for Saucelabs tunnel to connect
|
||||||
|
|
Loading…
Reference in New Issue