ci: fix ci step not failing on test failure
Some checks failed
continuous-integration/drone/pr Build is failing

This commit is contained in:
light7734 2025-07-16 12:50:37 +03:30
parent c76d6e8019
commit 61c898f47f
Signed by: light7734
GPG key ID: 8C30176798F1A6BA

View file

@ -51,8 +51,9 @@ steps:
pull: if-not-exists
commands:
- |
git submodule update --init --recursive
set -e
git submodule update --init --recursive
conan build . \
-c tools.system.package_manager:mode=install \
-s build_type=Release \
@ -60,13 +61,10 @@ steps:
-o enable_tests=True \
--build=missing
find ./build \
-type f \
-name '*_tests' \
-executable \
-exec sh -c \
'{}' \
\;
for test in $(find ./build -type f -name '*_tests' -executable); do
echo "Running $test"
"$test"
done
---
kind: pipeline