Skip to content

Commit

Permalink
GHA: reduce number of subsets
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
RobertGalatNordic committed Dec 12, 2024
1 parent aaede1a commit 89e202a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,12 @@ jobs:
strategy:
fail-fast: false
matrix:
subset: [1, 2, 3, 4]
subset: [1, 2]
board: ${{ fromJson(inputs.boards_to_test) }}
uses: ./.github/workflows/run_tests_dut.yml
with:
subset: ${{ matrix.subset }}
max_subsets: 4
max_subsets: 2
run_tests: true
target_board: ${{ matrix.board }}
nrf_revision: ${{ inputs.nrf_revision }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run_tests_dut.yml
Original file line number Diff line number Diff line change
Expand Up @@ -172,5 +172,5 @@ jobs:
- name: clean artifacts
if: always()
run: |
cd nrf; git checkout main; git branch -D branch_to_run;
cd nrf; git checkout main; git branch -D branch_to_run; cd ..;
rm -rf PACKAGE_ARTIFACTS_* twister-out
4 changes: 2 additions & 2 deletions .github/workflows/samples_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:
strategy:
fail-fast: false
matrix:
subset: [1, 2, 3, 4, 5]
subset: [1, 2, 3]
board: ${{ fromJson(inputs.boards_to_test) }}
env:
MAX_SUBSETS: 5
MAX_SUBSETS: 3

runs-on: ubuntu-24.04
container:
Expand Down

0 comments on commit 89e202a

Please sign in to comment.