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:
parent
b8d5ec47f7
commit
4949fb222e
|
@ -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 }}
|
||||||
|
|
Loading…
Reference in New Issue