angular/scripts/ci/run_angular_components_unit_tests.sh
Paul Gschwendtner 7562421353 ci: do not run firefox components repo tests (#46624)
It seems like the tag for Firefox web tests has changed, and we need to adjust our filter.
PR Close #46624
2022-06-29 12:56:45 -07:00

21 lines
640 B
Bash
Executable file

#!/usr/bin/env bash
set -u -e -o pipefail
# Script that runs all unit tests of the `angular/components` repository.
# Path to the Angular project.
angular_dir=$(pwd)
# Switch into the temporary directory where the `angular/components`
# repository has been cloned into.
cd ${COMPONENTS_REPO_TMP_DIR}
# Create a symlink for the Bazel binary installed through NPM, as running through Yarn introduces OOM errors.
./scripts/circleci/setup_bazel_binary.sh
# Now actually run the tests.
bazel test \
--build_tag_filters=-docs-package,-e2e,-browser:firefox \
--test_tag_filters=-e2e,-browser:firefox \
--build_tests_only \
-- src/...