diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 83dc10a2..91f3ddb2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -16,6 +16,9 @@ check: - module load Python - export COLUMNS=$COLUMNS - export TERM=$TERM + - python3 -m venv pm_tools_venv + - source pm_tools_venv/bin/activate + - pip install -r requirements.txt - python3 pmodules_tools/pmodules_tools.py --deps-check pages: diff --git a/pmodules_tools/db_diff/check.py b/pmodules_tools/db_diff/check.py index 385ad978..6f39b3b0 100644 --- a/pmodules_tools/db_diff/check.py +++ b/pmodules_tools/db_diff/check.py @@ -96,6 +96,8 @@ def db_check_diff(current_pmodule_state, Pmodules_db_path, Pmodules_states): print_pmodules_differences( current_pmodule_state, old_pmodule_state, Pmodules_states, Pmodules_db_path ) + else: + print_to_asciidoc([], [], [], Pmodules_db_path) # There is no database available or there are differences with the old pmodule state, writing current state. if no_current_db or compare_states_sha(