Install pillow for CI unit tests in pipeline

This commit is contained in:
Allan Mertner 2023-01-17 01:26:46 +00:00
parent 064e2d8f7b
commit 8316ddfbc6
4 changed files with 4 additions and 4 deletions

View File

@ -850,7 +850,7 @@ class StartupLazyLibrarian:
self.logger.info(msg)
subprocess.Popen(popen_list, cwd=os.getcwd())
if quit:
if quit and not testing:
self.logger.info('Lazylibrarian (pid %s) is exiting now' % os.getpid())
cherrypy.engine.stop()
sys.exit(0)

View File

@ -2,4 +2,4 @@
# Script called by gitlab CI engine during test phases
# Installs optional python modules
python3 -m pip install pillow lxml soupsieve Levenshtein apprise requests pyopenssl urllib3
python3 -m pip install lxml soupsieve Levenshtein apprise requests pyopenssl urllib3

View File

@ -3,6 +3,6 @@
# Installs python modules required for LL and unit testing
# Minimal modules
python3 -m pip install charset_normalizer certifi idna
python3 -m pip install charset_normalizer certifi idna pillow
# Build/testing modules
python3 -m pip install pytest mock pytest_order pytest-cov coverage pytest-profiling build

View File

@ -2,4 +2,4 @@
# Script called by gitlab CI engine during test phases
# Removes optional python modules if they are there
python3 -m pip uninstall pillow lxml soupsieve Levenshtein apprise requests pyopenssl urllib3 -y
python3 -m pip uninstall lxml soupsieve Levenshtein apprise requests pyopenssl urllib3 -y