actions: clang: set reporting before calling twister
Otherwise reporting is skipped and failures are not recorded. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
5595e2a739
commit
a30e71a7de
1 changed files with 2 additions and 2 deletions
4
.github/workflows/clang.yaml
vendored
4
.github/workflows/clang.yaml
vendored
|
@ -94,16 +94,16 @@ jobs:
|
|||
./scripts/ci/get_twister_opt.py --commits ${COMMIT_RANGE}
|
||||
if [ "$SC" = "full" ]; then
|
||||
# Full twister
|
||||
./scripts/twister --inline-logs -M -N -v -p ${{ matrix.platform }} --retry-failed 2
|
||||
echo "::set-output name=report_needed::1";
|
||||
./scripts/twister --inline-logs -M -N -v -p ${{ matrix.platform }} --retry-failed 2
|
||||
else
|
||||
# We can limit scope to just what has changed
|
||||
if [ -s modified_tests.args ]; then
|
||||
# we are working with one platform at a time
|
||||
sed -i '/--all/d' modified_tests.args
|
||||
echo "::set-output name=report_needed::1";
|
||||
# Full twister but with options based on changes
|
||||
./scripts/twister --inline-logs -M -N -v -p ${{ matrix.platform }} +modified_tests.args --retry-failed 2
|
||||
echo "::set-output name=report_needed::1";
|
||||
else
|
||||
# if nothing is run, skip reporting step
|
||||
echo "::set-output name=report_needed::0";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue