From f7e6c7baa4cecdc6afeab43355dd87b54fd27855 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Mon, 25 Oct 2021 17:08:10 +0200 Subject: .build.yml: Run unit tests in build_scripts: target. --- .build.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to '.build.yml') diff --git a/.build.yml b/.build.yml index e6cb0d1..be44f4c 100644 --- a/.build.yml +++ b/.build.yml @@ -130,13 +130,10 @@ build_scripts: - fi - scan-build $CHECKERS --keep-cc -o html-report make - fi - -after_scripts: - - if [ ${BUILD_TYPE} == "scripts" ];then - - XVFB_RUN="$(which xvfb-run || true)" - - if [ ${DISTRO_NAME} == "debian" ] || [ ${DISTRO_NAME} == "ubuntu" ];then - - if [ -e ./CMakeLists.txt ]; then - - ${XVFB_RUN} env CTEST_OUTPUT_ON_FAILURE=1 make test - - fi + - + - XVFB_RUN="$(which xvfb-run || true)" + - if [ ${DISTRO_NAME} == "debian" ] || [ ${DISTRO_NAME} == "ubuntu" ];then + - if [ -e ./CMakeLists.txt ]; then + - ${XVFB_RUN} env CTEST_OUTPUT_ON_FAILURE=1 make test - fi - fi -- cgit v1.2.3