9595 paths :
9696 - src/coverage/.coverage.py310
9797
98+ unittest_311 :
99+ docker :
100+ - image : continuumio/miniconda3
101+ working_directory : /tmp/src/mapca
102+ steps :
103+ - checkout
104+ - restore_cache :
105+ key : conda-py311-v1-{{ checksum "pyproject.toml" }}
106+ - run :
107+ name : Generate environment
108+ command : |
109+ apt-get update
110+ apt-get install -yqq make
111+ if [ ! -d /opt/conda/envs/mapca_py311 ]; then
112+ conda create -yq -n mapca_py311 python=3.11
113+ source activate mapca_py311
114+ pip install .[tests]
115+ fi
116+ - run :
117+ name : Running unit tests
118+ command : |
119+ source activate mapca_py311
120+ py.test --ignore mapca/tests/test_integration.py --cov-append --cov-report term-missing --cov=mapca mapca/
121+ mkdir /tmp/src/coverage
122+ mv /tmp/src/mapca/.coverage /tmp/src/coverage/.coverage.py311
123+ - save_cache :
124+ key : conda-py311-v1-{{ checksum "pyproject.toml" }}
125+ paths :
126+ - /opt/conda/envs/mapca_py311
127+ - persist_to_workspace :
128+ root : /tmp
129+ paths :
130+ - src/coverage/.coverage.py311
131+
132+ unittest_312 :
133+ docker :
134+ - image : continuumio/miniconda3
135+ working_directory : /tmp/src/mapca
136+ steps :
137+ - checkout
138+ - restore_cache :
139+ key : conda-py312-v1-{{ checksum "pyproject.toml" }}
140+ - run :
141+ name : Generate environment
142+ command : |
143+ apt-get update
144+ apt-get install -yqq make
145+ if [ ! -d /opt/conda/envs/mapca_py312 ]; then
146+ conda create -yq -n mapca_py312 python=3.12
147+ source activate mapca_py312
148+ pip install .[tests]
149+ fi
150+ - run :
151+ name : Running unit tests
152+ command : |
153+ source activate mapca_py312
154+ py.test --ignore mapca/tests/test_integration.py --cov-append --cov-report term-missing --cov=mapca mapca/
155+ mkdir /tmp/src/coverage
156+ mv /tmp/src/mapca/.coverage /tmp/src/coverage/.coverage.py312
157+ - save_cache :
158+ key : conda-py312-v1-{{ checksum "pyproject.toml" }}
159+ paths :
160+ - /opt/conda/envs/mapca_py312
161+ - persist_to_workspace :
162+ root : /tmp
163+ paths :
164+ - src/coverage/.coverage.py312
165+
98166 unittest_38 :
99167 docker :
100168 - image : continuumio/miniconda3
@@ -202,12 +270,13 @@ jobs:
202270 twine upload dist/*
203271
204272workflows :
205- version : 2.1
206273 build_test :
207274 jobs :
208275 - makeenv_38
209276 - unittest_39
210277 - unittest_310
278+ - unittest_311
279+ - unittest_312
211280 - unittest_38 :
212281 requires :
213282 - makeenv_38
@@ -222,6 +291,8 @@ workflows:
222291 - unittest_38
223292 - unittest_39
224293 - unittest_310
294+ - unittest_311
295+ - unittest_312
225296 - deploy :
226297 requires :
227298 - merge_coverage
0 commit comments