From 9e58cf4cf92d571af9458bdba81e8651078c1378 Mon Sep 17 00:00:00 2001 From: Sylvain LE GAL Date: Mon, 30 May 2022 14:19:26 +0200 Subject: [PATCH] wip --- .gitlab-ci.yml | 5 +++-- DEVELOP.md | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3319d58..c555c71 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -44,15 +44,16 @@ pytest: - echo $PYTHONPATH - poetry run pytest --version - - poetry run pytest --verbose --verbose + - poetry run pytest --verbosity=2 --exitfirst --cov odoo_openupgrade_wizard tests/cli_01_init_test.py tests/cli_02_get_code_test.py tests/cli_03_docker_build_test.py tests/cli_04_run_test.py + tests/cli_06_execute_script_sql_test.py # Disabled : calling OdooRPC on mounted container # in a container (gitlab) does'nt seems to work. # - poetry run pytest --verbose --verbose tests/cli_05_execute_script_python_test.py - # - poetry run pytest --verbose --verbose tests/cli_06_execute_script_sql_test.py + # - poetry run pytest --verbose --verbose # - poetry run pytest --verbose --verbose tests/cli_07_upgrade_test.py # - poetry run pytest --verbose --verbose tests/cli_08_generate_module_analysis_test.py diff --git a/DEVELOP.md b/DEVELOP.md index 6f2076f..321e11d 100644 --- a/DEVELOP.md +++ b/DEVELOP.md @@ -51,7 +51,7 @@ This will run tests only for the current ``python3.X`` version. (in your virtualenv) ``` -poetry run pytest --cov odoo_openupgrade_wizard -v +poetry run pytest --cov odoo_openupgrade_wizard --verbosity=2 --exitfirst ``` ## Via Tox