Skip to content

Commit 5746568

Browse files
committed
ci: increase twister verbosity with single -v flag
This prints more details in the GitHub Actions job log, specifically per-sample status: INFO - 1/4 native_sim/native/64 \ sample.golioth.location NOT RUN (build) INFO - 2/4 native_sim/native/64 \ sample.golioth.location.playback.wifi PASSED (native 12.659s) INFO - 3/4 native_sim/native/64 \ sample.golioth.location.playback.cellular PASSED (native 27.586s) INFO - 4/4 native_sim/native/64 \ sample.golioth.location.playback PASSED (native 37.606s) Signed-off-by: Marcin Niestroj <[email protected]>
1 parent d222623 commit 5746568

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/hil-sample-nsim.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ jobs:
7676
run: |
7777
rm -rf allure-reports
7878
zephyr/scripts/twister \
79+
-v \
7980
--platform ${{ inputs.west_board }} \
8081
-T modules/lib/golioth-firmware-sdk/examples/zephyr \
8182
-C --coverage-basedir modules/lib/golioth-firmware-sdk \

.github/workflows/hil-sample-zephyr.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ jobs:
118118
export EXTRA_BUILD_ARGS=-x=CONFIG_GOLIOTH_COAP_HOST_URI=\"${{ inputs.coap_gateway_url }}\"
119119
120120
zephyr/scripts/twister \
121+
-v \
121122
--overflow-as-errors \
122123
--platform ${{ inputs.west_board }} \
123124
-T modules/lib/golioth-firmware-sdk/examples/zephyr \
@@ -201,6 +202,7 @@ jobs:
201202
PORT_VAR=CI_${hil_board^^}_PORT
202203
SNR_VAR=CI_${hil_board^^}_SNR
203204
zephyr/scripts/twister \
205+
-v \
204206
-p ${{ inputs.west_board }} \
205207
-T modules/lib/golioth-firmware-sdk/examples/zephyr \
206208
--device-testing \
@@ -214,8 +216,7 @@ jobs:
214216
--pytest-args="--mask-secrets" \
215217
--pytest-args="--alluredir=allure-reports" \
216218
--pytest-args="--runner-name=${{ runner.name }}" \
217-
--pytest-args="--hil-board=${{ inputs.hil_board }}" \
218-
-v
219+
--pytest-args="--hil-board=${{ inputs.hil_board }}"
219220
220221
- name: Safe upload twister artifacts
221222
if: success() || failure()

0 commit comments

Comments
 (0)