Skip to content

Commit cdb27db

Browse files
committed
actions: clang: set reporting before calling twister
Otherwise reporting is skipped and failures are not recorded. Signed-off-by: Anas Nashif <[email protected]>
1 parent 9ff7a43 commit cdb27db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/clang.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,16 +94,16 @@ jobs:
9494
./scripts/ci/get_twister_opt.py --commits ${COMMIT_RANGE}
9595
if [ "$SC" = "full" ]; then
9696
# Full twister
97-
./scripts/twister --inline-logs -M -N -v -p ${{ matrix.platform }} --retry-failed 2
9897
echo "::set-output name=report_needed::1";
98+
./scripts/twister --inline-logs -M -N -v -p ${{ matrix.platform }} --retry-failed 2
9999
else
100100
# We can limit scope to just what has changed
101101
if [ -s modified_tests.args ]; then
102102
# we are working with one platform at a time
103103
sed -i '/--all/d' modified_tests.args
104+
echo "::set-output name=report_needed::1";
104105
# Full twister but with options based on changes
105106
./scripts/twister --inline-logs -M -N -v -p ${{ matrix.platform }} +modified_tests.args --retry-failed 2
106-
echo "::set-output name=report_needed::1";
107107
else
108108
# if nothing is run, skip reporting step
109109
echo "::set-output name=report_needed::0";

0 commit comments

Comments
 (0)