From 497084491fdcc4979a55d29c66e562907d6753bc Mon Sep 17 00:00:00 2001 From: Valentin Emiya <23557104+valentin-emiya@users.noreply.github.com> Date: Sun, 14 Jul 2024 21:00:49 +0200 Subject: [PATCH] add tests py310 and py311 --- .gitlab-ci.yml | 86 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 86 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 659ca4f..8e230e5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -56,6 +56,92 @@ install_and_test_39: - build expire_in: 8d +install_and_test_310: + image: python:3.10 + stage: test + script: + - apt-get update + - apt-get install -y --no-install-recommends cmake + - apt-get install -y --no-install-recommends gcc + - apt-get install -y --no-install-recommends g++ + - apt-get install -y --no-install-recommends make + - apt-get install -y --no-install-recommends libfftw3-dev + - apt-get install -y --no-install-recommends liblapack-dev + - apt-get install -y --no-install-recommends python3 + - apt-get install -y --no-install-recommends python3-dev + - apt-get install -y --no-install-recommends python3-setuptools + - apt-get install -y --no-install-recommends python3-pytest + - apt-get install -y --no-install-recommends python3-pytest-cov + - apt-get install -y --no-install-recommends python3-coverage + - apt-get install -y --no-install-recommends libjs-jquery-hotkeys + - apt-get install -y --no-install-recommends libjs-jquery-isonscreen + - apt-get install -y --no-install-recommends libjs-jquery-tablesorter + - apt-get install -y --no-install-recommends python3-pip + - apt-get install -y --no-install-recommends python3-wheel + - apt-get install -y --no-install-recommends python3-tk + - apt-get install -y --no-install-recommends python3-matplotlib + - apt-get install -y --no-install-recommends python3-scipy + - apt-get install -y --no-install-recommends texlive-latex-extra + - apt-get install -y --no-install-recommends dvipng + - apt-get clean + - pip install virtualenv + - virtualenv venv + - source venv/bin/activate + - pip install --upgrade pip + - pip install matplotlib numpy scipy six coverage pytest pytest-cov + - dpkg -L python3-pytest | xargs file | grep executable + - pip3 install -e . --no-deps + - python3 -m pytest + artifacts: + when: always + untracked: true + paths: + - build + expire_in: 8d + +install_and_test_311: + image: python:3.11 + stage: test + script: + - apt-get update + - apt-get install -y --no-install-recommends cmake + - apt-get install -y --no-install-recommends gcc + - apt-get install -y --no-install-recommends g++ + - apt-get install -y --no-install-recommends make + - apt-get install -y --no-install-recommends libfftw3-dev + - apt-get install -y --no-install-recommends liblapack-dev + - apt-get install -y --no-install-recommends python3 + - apt-get install -y --no-install-recommends python3-dev + - apt-get install -y --no-install-recommends python3-setuptools + - apt-get install -y --no-install-recommends python3-pytest + - apt-get install -y --no-install-recommends python3-pytest-cov + - apt-get install -y --no-install-recommends python3-coverage + - apt-get install -y --no-install-recommends libjs-jquery-hotkeys + - apt-get install -y --no-install-recommends libjs-jquery-isonscreen + - apt-get install -y --no-install-recommends libjs-jquery-tablesorter + - apt-get install -y --no-install-recommends python3-pip + - apt-get install -y --no-install-recommends python3-wheel + - apt-get install -y --no-install-recommends python3-tk + - apt-get install -y --no-install-recommends python3-matplotlib + - apt-get install -y --no-install-recommends python3-scipy + - apt-get install -y --no-install-recommends texlive-latex-extra + - apt-get install -y --no-install-recommends dvipng + - apt-get clean + - pip install virtualenv + - virtualenv venv + - source venv/bin/activate + - pip install --upgrade pip + - pip install matplotlib numpy scipy six coverage pytest pytest-cov + - dpkg -L python3-pytest | xargs file | grep executable + - pip3 install -e . --no-deps + - python3 -m pytest + artifacts: + when: always + untracked: true + paths: + - build + expire_in: 8d + # Tests on X86_64 ubuntu ubuntu:X86_64: image: registry.gitlab.lis-lab.fr:5005/dev/ltfatpy/ubuntu:X86_64 -- GitLab