change number of components 20->15

This commit is contained in:
Tomasz Duda 2024-08-15 13:34:14 +02:00
parent 78bbb62bf8
commit 5744c88987

View file

@ -420,7 +420,7 @@ jobs:
./script/test_build_components -e compile -c ${{ matrix.file }}
test-build-components-splitter:
name: Split components for testing into 20 groups maximum
name: Split components for testing into 15 groups maximum
runs-on: ubuntu-latest
needs:
- common
@ -431,10 +431,10 @@ jobs:
steps:
- name: Check out code from GitHub
uses: actions/checkout@v4.1.7
- name: Split components into 20 groups
- name: Split components into 15 groups
id: split
run: |
components=$(echo '${{ needs.list-components.outputs.components }}' | jq -c '.[]' | shuf | jq -s -c '[_nwise(20) | join(" ")]')
components=$(echo '${{ needs.list-components.outputs.components }}' | jq -c '.[]' | shuf | jq -s -c '[_nwise(15) | join(" ")]')
echo "components=$components" >> $GITHUB_OUTPUT
test-build-components-split: