ci: fix ci step not failing on test failure
Some checks failed
continuous-integration/drone/pr Build is failing
Some checks failed
continuous-integration/drone/pr Build is failing
This commit is contained in:
parent
c76d6e8019
commit
61c898f47f
1 changed files with 6 additions and 8 deletions
14
.drone.yml
14
.drone.yml
|
@ -51,8 +51,9 @@ steps:
|
||||||
pull: if-not-exists
|
pull: if-not-exists
|
||||||
commands:
|
commands:
|
||||||
- |
|
- |
|
||||||
git submodule update --init --recursive
|
set -e
|
||||||
|
|
||||||
|
git submodule update --init --recursive
|
||||||
conan build . \
|
conan build . \
|
||||||
-c tools.system.package_manager:mode=install \
|
-c tools.system.package_manager:mode=install \
|
||||||
-s build_type=Release \
|
-s build_type=Release \
|
||||||
|
@ -60,13 +61,10 @@ steps:
|
||||||
-o enable_tests=True \
|
-o enable_tests=True \
|
||||||
--build=missing
|
--build=missing
|
||||||
|
|
||||||
find ./build \
|
for test in $(find ./build -type f -name '*_tests' -executable); do
|
||||||
-type f \
|
echo "Running $test"
|
||||||
-name '*_tests' \
|
"$test"
|
||||||
-executable \
|
done
|
||||||
-exec sh -c \
|
|
||||||
'{}' \
|
|
||||||
\;
|
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
|
|
Loading…
Add table
Reference in a new issue