Test parallel operation in CI

This commit is contained in:
Steve Gravrock
2022-09-17 11:39:41 -07:00
parent 2272f9aead
commit 213144413f

View File

@@ -47,6 +47,18 @@ jobs:
name: Run tests
command: npm test
test_parallel: &test_parallel
parameters:
executor:
type: executor
executor: << parameters.executor >>
steps:
- attach_workspace:
at: .
- run:
name: Run tests in parallel
command: npx grunt execSpecsInParallel
test_browsers: &test_browsers
executor: node16
steps:
@@ -98,6 +110,16 @@ workflows:
name: test_node_16
requires:
- build_node_16
- test_parallel:
executor: node16
name: test_parallel_node_16
requires:
- build_node_16
- test_parallel:
executor: node18
name: test_parallel_node_18
requires:
- build_node_18
- test_browsers:
requires:
- build_node_16