Skip to content

Commit

Permalink
ci: split to more jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeagle committed Feb 22, 2019
1 parent 81a7efe commit f54c5d7
Showing 1 changed file with 32 additions and 4 deletions.
36 changes: 32 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,8 @@ jobs:
# 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:
test_examples:
<<: *job_defaults
resource_class: xlarge
steps:
- checkout:
<<: *post_checkout
Expand All @@ -156,14 +155,43 @@ jobs:
# Not using "bazel run @nodejs//:yarn test" as will attempt to run
# the "test" script on all folder listed in node_repositories()
- run: yarn test:examples
- run: yarn test:packages

test_typescript:
<<: *job_defaults
# Need to compile Go and protocol buffers from source
resource_class: xlarge
steps:
- checkout:
<<: *post_checkout
- *setup_bazelrc
- run: yarn packages-typescript

test_karma:
<<: *job_defaults
steps:
- checkout:
<<: *post_checkout
- *setup_bazelrc
- run: yarn packages-karma

test_jasmine:
<<: *job_defaults
steps:
- checkout:
<<: *post_checkout
- *setup_bazelrc
- run: yarn packages-jasmine


workflows:
version: 2
default_workflow:
jobs:
- lint
- build
- test
- test_examples
- test_e2e
- test_legacy_runfiles
- test_karma
- test_typescript
- test_jasmine

0 comments on commit f54c5d7

Please sign in to comment.