From d298b52ffd6216b889413e0f04028614987e8298 Mon Sep 17 00:00:00 2001 From: Dominique Benielli <dominique.benielli@univ-amu.fr> Date: Tue, 13 May 2025 11:25:28 +0200 Subject: [PATCH] Edit .gitlab-ci.yml --- .gitlab-ci.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8fe9b087..3c353e73 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,6 +6,10 @@ tests: script: - export LC_ALL=$(locale -a | grep en_US) - export LANG=$(locale -a | grep en_US) + - python -m pip3 install flake8 pytest pytest-cov + - if [ -f requirements.txt ]; then pip install -r requirements.txt; fi + - pip3 install git+https://github.com/thibgo/randomscm.git@v0.0.0-alpha + - pip3 install git+https://github.com/multi-learn/scikit-multimodallearn.git - pip3 install -e . - pytest-3 coverage: '/^TOTAL.+?(\d+\%)$/' @@ -24,6 +28,10 @@ doc: script: - export LC_ALL=$(locale -a | grep en_US) - export LANG=$(locale -a | grep en_US) + - python -m pip3 install flake8 + - if [ -f requirements.txt ]; then pip install -r requirements.txt; fi + - pip3 install git+https://github.com/thibgo/randomscm.git@v0.0.0-alpha + - pip3 install git+https://github.com/multi-learn/scikit-multimodallearn.git - pip3 install -e .[doc] - sphinx-apidoc -o docs/source summit - cd docs/source @@ -45,6 +53,10 @@ pages: script: - export LC_ALL=$(locale -a | grep en_US) - export LANG=$(locale -a | grep en_US) + - python -m pip3 install flake8 + - if [ -f requirements.txt ]; then pip install -r requirements.txt; fi + - pip3 install git+https://github.com/thibgo/randomscm.git@v0.0.0-alpha + - pip3 install git+https://github.com/multi-learn/scikit-multimodallearn.git - pip3 install -e .[doc] - pytest-3 - sphinx-apidoc -o docs/source summit -- GitLab