Skip to content

Commit 35d8c2f

Browse files
committed
[TEST] ci: twister: Run "weekly" on push
1 parent d69ce9d commit 35d8c2f

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.github/workflows/twister.yaml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -100,21 +100,22 @@ jobs:
100100
- name: Determine matrix size
101101
id: output-services
102102
run: |
103-
if [ "${{github.event_name}}" = "push" ]; then
104-
subset="[$(seq -s',' 1 ${PUSH_MATRIX_SIZE})]"
105-
size=${MATRIX_SIZE}
106-
elif [ "${{github.event_name}}" = "pull_request" ]; then
103+
# if [ "${{github.event_name}}" = "push" ]; then
104+
# subset="[$(seq -s',' 1 ${PUSH_MATRIX_SIZE})]"
105+
# size=${MATRIX_SIZE}
106+
if [ "${{github.event_name}}" = "pull_request" ]; then
107107
if [ -n "${TWISTER_NODES}" ]; then
108108
subset="[$(seq -s',' 1 ${TWISTER_NODES})]"
109109
else
110110
subset="[$(seq -s',' 1 ${MATRIX_SIZE})]"
111111
fi
112112
size=${TWISTER_NODES}
113-
elif [ "${{github.event_name}}" = "schedule" -a "${{github.repository}}" = "zephyrproject-rtos/zephyr" ]; then
113+
# elif [ "${{github.event_name}}" = "schedule" -a "${{github.repository}}" = "zephyrproject-rtos/zephyr" ]; then
114+
else
114115
subset="[$(seq -s',' 1 ${WEEKLY_MATRIX_SIZE})]"
115116
size=${WEEKLY_MATRIX_SIZE}
116-
else
117-
size=0
117+
# else
118+
# size=0
118119
fi
119120
120121
echo "subset=${subset}" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)