Skip to content

Commit 89e202a

Browse files
GHA: reduce number of subsets
after introduction to ccache, setup is now significant part of run by increasing jobs on machine we increase value Signed-off-by: Robert Gałat <[email protected]>
1 parent aaede1a commit 89e202a

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/run_tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,12 @@ jobs:
8686
strategy:
8787
fail-fast: false
8888
matrix:
89-
subset: [1, 2, 3, 4]
89+
subset: [1, 2]
9090
board: ${{ fromJson(inputs.boards_to_test) }}
9191
uses: ./.github/workflows/run_tests_dut.yml
9292
with:
9393
subset: ${{ matrix.subset }}
94-
max_subsets: 4
94+
max_subsets: 2
9595
run_tests: true
9696
target_board: ${{ matrix.board }}
9797
nrf_revision: ${{ inputs.nrf_revision }}

.github/workflows/run_tests_dut.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,5 +172,5 @@ jobs:
172172
- name: clean artifacts
173173
if: always()
174174
run: |
175-
cd nrf; git checkout main; git branch -D branch_to_run;
175+
cd nrf; git checkout main; git branch -D branch_to_run; cd ..;
176176
rm -rf PACKAGE_ARTIFACTS_* twister-out

.github/workflows/samples_build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ jobs:
2121
strategy:
2222
fail-fast: false
2323
matrix:
24-
subset: [1, 2, 3, 4, 5]
24+
subset: [1, 2, 3]
2525
board: ${{ fromJson(inputs.boards_to_test) }}
2626
env:
27-
MAX_SUBSETS: 5
27+
MAX_SUBSETS: 3
2828

2929
runs-on: ubuntu-24.04
3030
container:

0 commit comments

Comments
 (0)