ci(test): do not fail coverdata uppload if no file found

the optional make <app>-ct action should not fail the
following upload action
This commit is contained in:
Zaiming (Stone) Shi 2022-08-13 10:12:33 +02:00
parent b8d5ec47f7
commit 4949fb222e
1 changed files with 4 additions and 3 deletions

View File

@ -178,16 +178,17 @@ jobs:
make clean make clean
make "${WHICH_APP}-ct" make "${WHICH_APP}-ct"
else else
echo "no_common_test_run_for_app ${WHICH_APP}" echo "no_common_test_run_for_app ${WHICH_APP}-ct"
fi fi
else else
make "${WHICH_APP}-ct" make "${WHICH_APP}-ct"
fi fi
- uses: actions/upload-artifact@v1 - uses: actions/upload-artifact@v3
with: with:
name: coverdata name: coverdata
path: source/_build/test/cover path: source/_build/test/cover
- uses: actions/upload-artifact@v1 if-no-files-found: warn # do not fail if no coverdata found
- uses: actions/upload-artifact@v3
if: failure() if: failure()
with: with:
name: logs_${{ matrix.otp_release }} name: logs_${{ matrix.otp_release }}