Skip to content

parallel_test gem experimentation #15

parallel_test gem experimentation

parallel_test gem experimentation #15

Workflow file for this run

name: Continuous Integration
on:
push:
branches:
- main
paths-ignore:
- "doc/**"
- "**/*.md"
pull_request:
branches:
- main
jobs:
rspec:
# this is the job for the unit tests (non-integration tests)
strategy:
fail-fast: false
matrix:
groups: ["[0, 1, 2, 3]", "[4, 5, 6, 7]", "[8, 9, 10, 11]"]
uses: ./.github/workflows/rspec.yml
secrets: inherit
with:
groups: ${{ matrix.groups }}
group_count: 12 # the total number of test groups, must match the groups listed in the matrix.groups
parallel_processes_count: 4 # the number of parallel processes to run tests in worker, must match the size of the
# inner arrays in the matrix.groups
docker:
# this is the job for the unit tests (non-integration tests)
strategy:
fail-fast: false
matrix:
groups: ["[0, 1, 2, 3]", "[4, 5, 6, 7]", "[8, 9, 10, 11]"]
uses: ./.github/workflows/docker.yml
secrets: inherit
with:
groups: ${{ matrix.groups }}
group_count: 12 # the total number of test groups, must match the groups listed in the matrix.groups
parallel_processes_count: 4 # the number of parallel processes to run tests in worker, must match the size of the
# inner arrays in the matrix.groups
combine_and_report:
# this is the job that combines the results of the previous two jobs and reports them
uses: ./.github/workflows/combine_and_report.yml
needs: [rspec]
secrets: inherit