Skip to content

Commit

Permalink
Move angular-bazel-example test to its own CI job
Browse files Browse the repository at this point in the history
  • Loading branch information
gregmagolan committed May 24, 2019
1 parent f96a06b commit a90805b
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -299,10 +299,25 @@ jobs:
- *attach_workspace
- *init_environment
- *init_bazel
- run: ./scripts/setup_examples_angular.sh
# Some examples such as app require xvfb
- run: xvfb-run -a ./scripts/test_examples_all.sh ${CIRCLE_NODE_INDEX} ${CIRCLE_NODE_TOTAL}

# This job cannot run on BuildKite (BazelCI) because it requires changing
# directories to test inside nested workspaces.
# See https://github.com/bazelbuild/continuous-integration/issues/225
test_angular_bazel_example:
<<: *job_defaults
docker:
# Needed because some tests require local chrome
- image: *browsers_docker_image
resource_class: xlarge
steps:
- *attach_workspace
- *init_environment
- *init_bazel
- run: ./scripts/setup_examples_angular.sh
- run: ./scripts/test_examples.sh angular

workflows:
version: 2
default_workflow:
Expand Down

0 comments on commit a90805b

Please sign in to comment.