Revision 927bfb9e7b228d77298cef531307b7d85b46628b authored by Renovate Bot on 03 December 2021, 06:52:44 UTC, committed by Alex Rickabaugh on 03 December 2021, 16:48:10 UTC
1 parent 5109369
Raw File
run_angular_components_unit_tests.sh
#!/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-local --test_tag_filters=-e2e,-browser:firefox-local -- src/...
back to top