ci: bluetooth-tests: Run with GNU parallel

This commit updates the bluetooth-tests workflow to install the GNU
parallel utility to enable parallel execution of the Bluetooth tests.

Note that the Bluetooth test script automatically parallelises the
tests when `parallel` is available in the PATH; otherwise, it
sequentially executes the tests.

Signed-off-by: Stephanos Ioannidis <stephanos.ioannidis@nordicsemi.no>
This commit is contained in:
Stephanos Ioannidis 2022-11-23 16:09:06 +09:00 committed by Stephanos Ioannidis
parent 22d043dad3
commit e872ef57db
1 changed files with 6 additions and 0 deletions

View File

@ -66,6 +66,12 @@ jobs:
west update --path-cache /github/cache/zephyrproject 2>&1 1> west.update.log || west update --path-cache /github/cache/zephyrproject 2>&1 1> west.update.log || ( rm -rf ../modules ../bootloader ../tools && west update --path-cache /github/cache/zephyrproject)
west forall -c 'git reset --hard HEAD'
- name: Install parallel
run: |
sudo apt-get update
sudo apt-get install -y parallel
parallel --version
- name: Run Bluetooth Tests with BSIM
run: |
export ZEPHYR_BASE=${PWD}