Skip to content
Snippets Groups Projects
Commit 91e5e5e4 authored by Vincent Hatakeyama's avatar Vincent Hatakeyama
Browse files

:sparkles: add metrics file

parent 72b01d6c
No related branches found
No related tags found
No related merge requests found
......@@ -11,6 +11,8 @@
Change failure and error detection in ``run_tests``.
run_tests: Add metrics when running in CI.
3.2
---
......
......@@ -61,6 +61,11 @@
then
tests_errors=0
fi
# create a metrics file
if [ -n "$CI" ];
then
echo "odoo_scripts_tests_ran $tests_ran\nodoo_scripts_tests_failures $tests_failures\nodoo_scripts_tests_error $tests_error" > metrics
fi
if [ $ODOO_TYPE != 'odoo13' ];
then
ok=$(grep ' OK' $logfile -c)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment