From 88d8f7122afd94eb327e11f3af033a91effe42ac Mon Sep 17 00:00:00 2001 From: "valentin.emiya" <valentin.emiya@lif.univ-mrs.fr> Date: Wed, 3 Jun 2020 21:55:10 +0200 Subject: [PATCH] update CI --- .gitlab-ci.yml | 4 ++-- python/requirements/defaults.txt | 2 +- python/tffpy/tests/ci_config.py | 2 ++ 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bd5183e..7d07f4b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,8 +6,8 @@ tests: script: - cd python - pip3 install --no-deps ltfatpy madarrays yafe skpomade pandas + - pip3 install scipy -U - pip3 install --no-deps . - - pwd - python3 tffpy/tests/ci_config.py - pytest-3 @@ -21,9 +21,9 @@ pages: script: - cd python - pip3 install --no-deps ltfatpy madarrays yafe skpomade pandas + - pip3 install scipy -U - pip3 install --no-deps . - python3 setup.py build_sphinx - - pwd - python3 tffpy/tests/ci_config.py - cp -r build/sphinx/html public artifacts: diff --git a/python/requirements/defaults.txt b/python/requirements/defaults.txt index 318c246..21bc74c 100755 --- a/python/requirements/defaults.txt +++ b/python/requirements/defaults.txt @@ -1,7 +1,7 @@ --index-url https://pypi.python.org/simple/ numpy>=1.13 -scipy +scipy>=1.4.1 matplotlib pandas xarray diff --git a/python/tffpy/tests/ci_config.py b/python/tffpy/tests/ci_config.py index e052dc2..f5bdb59 100644 --- a/python/tffpy/tests/ci_config.py +++ b/python/tffpy/tests/ci_config.py @@ -7,12 +7,14 @@ from configparser import ConfigParser from pathlib import Path import os +import scipy as sp from yafe.utils import ConfigParser as YafeConfigParser from tffpy.utils import get_config_file, generate_config if __name__ == '__main__': + print(sp.__version__) config_file = get_config_file() if not config_file.exists(): generate_config() -- GitLab