From 2398e78721bb76c572dea7b0a54f176c6d68c176 Mon Sep 17 00:00:00 2001 From: k204230 <bergemann@dkrz.de> Date: Tue, 24 Jan 2023 15:47:07 +0100 Subject: [PATCH] Use python3.11 in pipeline --- .gitlab-ci.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 835e383..86ea821 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -48,13 +48,21 @@ test_39: script: - /tmp/test/bin/python -m pytest -vv +test_310: + << : *py_test + before_script: + - conda create -q -p /tmp/test python=3.10 pip dask -y + - /tmp/test/bin/python -m pip install -e .[test] + script: + - /tmp/test/bin/python -m pytest -vv + pages: stage: report needs: [] tags: - conda before_script: - - conda create -c conda-forge -q -p /tmp/test python=3.10 pip dask -y + - conda create -c conda-forge -q -p /tmp/test python=3.11 pip dask hdf5 -y - /tmp/test/bin/python -m pip install -e .[test] script: - /tmp/test/bin/coverage run -m pytest -- GitLab