Skip to content

Commit f27f030

Browse files
committed
run twister with cache
Signed-off-by: Anas Nashif <[email protected]>
1 parent e25916b commit f27f030

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/twister.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ jobs:
129129
run: |
130130
export ZEPHYR_BASE=${PWD}
131131
export ZEPHYR_TOOLCHAIN_VARIANT=zephyr
132-
python3 ./scripts/twister --cmake-only -T samples/synchronization/ --outdir filter_cache
132+
python3 ./scripts/twister --cmake-only -T samples/synchronization/ --outdir filter_cache --force-color --inline-logs
133133
cd filter_cache
134134
for d in `ls -1`; do
135135
mkdir -p cache/${d};
@@ -261,10 +261,9 @@ jobs:
261261
- if: github.event_name == 'push'
262262
name: Run Tests with Twister (Push)
263263
run: |
264-
ls -lR filter_cache
265264
export ZEPHYR_BASE=${PWD}
266265
export ZEPHYR_TOOLCHAIN_VARIANT=zephyr
267-
./scripts/twister --subset ${{matrix.subset}}/${{ strategy.job-total }} ${TWISTER_COMMON} ${PUSH_OPTIONS}
266+
./scripts/twister --subset ${{matrix.subset}}/${{ strategy.job-total }} ${TWISTER_COMMON} ${PUSH_OPTIONS} --filter-cache filter_cache/filter_cache
268267
if [ "${{matrix.subset}}" = "1" ]; then
269268
./scripts/zephyr_module.py --twister-out module_tests.args
270269
if [ -s module_tests.args ]; then

0 commit comments

Comments
 (0)