From 6e3ce3d70df56c51537ab2e46ed59e69321acbf0 Mon Sep 17 00:00:00 2001 From: k204230 <bergemann@dkrz.de> Date: Fri, 10 Jun 2022 20:26:12 +0200 Subject: [PATCH] Update pipeline --- .gitlab-ci.yml | 36 ++++++++++++++++++++---------------- 1 file changed, 20 insertions(+), 16 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b1ac4a0..810b742 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -19,50 +19,54 @@ lint: test_35: << : *py_test before_script: - - conda create -q -n test python=3.5 pip - - conda run -n python -m pip install .[test] + - conda create -q -n test python=3.5 pip -y + - conda run -n test python -m pip install .[test] script: - - pytest -vv + - conda run -n test pytest -vv test_36: << : *py_test before_script: - - conda create -q -n test python=3.6 pip - - conda run -n python -m pip install .[test] + - conda create -q -n test python=3.6 pip -y + - /tmp/test/python -m pip install .[test] + - conda run -n test python -m pip install .[test] script: - - pytest -vv + - conda run -n test pytest -vv test_37: << : *py_test before_script: - conda create -q -n test python=3.7 pip - - conda run -n python -m pip install .[test] + - conda create -q -p /tmp/test python=3.10 pip -y + - conda run -n test python -m pip install .[test] script: - - pytest -vv + - conda run -n test pytest -vv test_38: << : *py_test before_script: - conda create -q -n test python=3.8 pip - - conda run -n python -m pip install .[test] + - conda create -q -p /tmp/test python=3.10 pip -y + - conda run -n test python -m pip install .[test] script: - - pytest -vv + - conda run -n test pytest -vv test_39: << : *py_test before_script: - - conda create -q -n test python=3.9 pip - - conda run -n python -m pip install .[test] + - conda create -q -n test python=3.10 pip -y + - /tmp/test/python -m pip install .[test] + - conda run -n test python -m pip install .[test] script: - - pytest -vv + - conda run -n test pytest -vv test_latest: << : *py_test before_script: - - conda create -q -n test python=3.10 pip - - conda run -n python -m pip install .[test] + - conda create -q -n test python=3.10 pip -y + - conda run -n test python -m pip install .[test] script: - - pytest -vv + - conda run -n test pytest -vv artifacts: when: always reports: -- GitLab