11name : tests
22
3- on :
4- push :
3+ on :
4+ push :
55 branches : ["**"]
66 pull_request :
77 types :
1414 runs-on : ubuntu-24.04
1515 strategy :
1616 matrix :
17- python-version : ["3.9 "]
17+ python-version : ["3.10 "]
1818 steps :
1919 - name : System Dependencies
2020 run : |
@@ -40,16 +40,16 @@ jobs:
4040
4141 - name : Install dependencies
4242 run : |
43- python3.9 -m pip install --upgrade pip
43+ python3.10 -m pip install --upgrade pip
4444 pip install -e .
4545 if [ -f pip/cpu_requirements.txt ]; then pip install -r pip/cpu_requirements.txt; fi
4646 if [ -f pip/dev_requirements.txt ]; then pip install -r pip/dev_requirements.txt; fi
4747
4848 - name : pytest
4949 run : |
50- # python3.9 -m pytest --capture=sys --capture=fd --cov=atomsci/ -vv atomsci/ddm/test/unit
51- cd atomsci/modac/test/unit && python3.9 -m pytest --capture=sys --capture=fd --cov=atomsci/ -vv
52- cd ../../../../atomsci/ddm/test/unit && python3.9 -m pytest -m "not moe_required" -n 2 --capture=sys --capture=fd --cov=atomsci -vv
50+ # python3.10 -m pytest --capture=sys --capture=fd --cov=atomsci/ -vv atomsci/ddm/test/unit
51+ cd atomsci/modac/test/unit && python3.10 -m pytest --capture=sys --capture=fd --cov=atomsci/ -vv
52+ cd ../../../../atomsci/ddm/test/unit && python3.10 -m pytest -m "not moe_required" -n 2 --capture=sys --capture=fd --cov=atomsci -vv
5353 env :
5454 ENV : test
5555
8585 runs-on : ubuntu-24.04
8686 strategy :
8787 matrix :
88- python-version : ["3.9 "]
88+ python-version : ["3.10 "]
8989 steps :
9090 - name : System Dependencies
9191 run : |
@@ -111,15 +111,15 @@ jobs:
111111
112112 - name : Install dependencies
113113 run : |
114- python3.9 -m pip install --upgrade pip
114+ python3.10 -m pip install --upgrade pip
115115 pip install -e .
116116 if [ -f pip/cpu_requirements.txt ]; then pip install -r pip/cpu_requirements.txt; fi
117117 if [ -f pip/dev_requirements.txt ]; then pip install -r pip/dev_requirements.txt; fi
118118
119119 - name : pytest
120120 run : |
121121 # TODO: Run this test with pytest for paralell testing
122- # python3.9 -m pytest -n 2 --capture=sys --capture=fd --cov=atomsci -vv atomsci/ddm/test/integrative
122+ # python3.10 -m pytest -n 2 --capture=sys --capture=fd --cov=atomsci -vv atomsci/ddm/test/integrative
123123 cd atomsci/ddm/test/integrative && ./integrative_batch_chunk_tests 0
124124 env :
125125 ENV : test
@@ -154,7 +154,7 @@ jobs:
154154 runs-on : ubuntu-24.04
155155 strategy :
156156 matrix :
157- python-version : ["3.9 "]
157+ python-version : ["3.10 "]
158158 steps :
159159 - name : System Dependencies
160160 run : |
@@ -180,7 +180,7 @@ jobs:
180180
181181 - name : Install dependencies
182182 run : |
183- python3.9 -m pip install --upgrade pip
183+ python3.10 -m pip install --upgrade pip
184184 pip install -e .
185185 if [ -f pip/cpu_requirements.txt ]; then pip install -r pip/cpu_requirements.txt; fi
186186 if [ -f pip/dev_requirements.txt ]; then pip install -r pip/dev_requirements.txt; fi
@@ -223,7 +223,7 @@ jobs:
223223 runs-on : ubuntu-24.04
224224 strategy :
225225 matrix :
226- python-version : ["3.9 "]
226+ python-version : ["3.10 "]
227227 steps :
228228 - name : System Dependencies
229229 run : |
@@ -249,15 +249,15 @@ jobs:
249249
250250 - name : Install dependencies
251251 run : |
252- python3.9 -m pip install --upgrade pip
252+ python3.10 -m pip install --upgrade pip
253253 pip install -e .
254254 if [ -f pip/cpu_requirements.txt ]; then pip install -r pip/cpu_requirements.txt; fi
255255 if [ -f pip/dev_requirements.txt ]; then pip install -r pip/dev_requirements.txt; fi
256256
257257 - name : pytest
258258 run : |
259259 # TODO: Run this test with pytest for paralell testing
260- # python3.9 -m pytest -n 2 --capture=sys --capture=fd --cov=atomsci -vv atomsci/ddm/test/integrative
260+ # python3.10 -m pytest -n 2 --capture=sys --capture=fd --cov=atomsci -vv atomsci/ddm/test/integrative
261261 cd atomsci/ddm/test/integrative && ./integrative_batch_chunk_tests 2
262262 env :
263263 ENV : test
@@ -292,7 +292,7 @@ jobs:
292292 runs-on : ubuntu-24.04
293293 strategy :
294294 matrix :
295- python-version : ["3.9 "]
295+ python-version : ["3.10 "]
296296 steps :
297297 - name : System Dependencies
298298 run : |
@@ -318,15 +318,15 @@ jobs:
318318
319319 - name : Install dependencies
320320 run : |
321- python3.9 -m pip install --upgrade pip
321+ python3.10 -m pip install --upgrade pip
322322 pip install -e .
323323 if [ -f pip/cpu_requirements.txt ]; then pip install -r pip/cpu_requirements.txt; fi
324324 if [ -f pip/dev_requirements.txt ]; then pip install -r pip/dev_requirements.txt; fi
325325
326326 - name : pytest
327327 run : |
328328 # TODO: Run this test with pytest for paralell testing
329- # python3.9 -m pytest -n 2 --capture=sys --capture=fd --cov=atomsci -vv atomsci/ddm/test/integrative
329+ # python3.10 -m pytest -n 2 --capture=sys --capture=fd --cov=atomsci -vv atomsci/ddm/test/integrative
330330 cd atomsci/ddm/test/integrative && ./integrative_batch_chunk_tests 3
331331 env :
332332 ENV : test
@@ -365,31 +365,31 @@ jobs:
365365 - name : Set up Python
366366 uses : actions/setup-python@v4
367367 with :
368- python-version : " 3.9 "
369-
368+ python-version : " 3.10 "
369+
370370 - name : Install coverage
371371 run : pip install coverage
372-
372+
373373 - name : Download all coverage artifacts
374374 uses : actions/download-artifact@v5
375375 with :
376376 path : coverage-reports
377-
377+
378378 - name : Merge coverage reports
379379 run : |
380380 # List directory structure for debugging
381381 ls -la
382382 ls -la coverage-reports/ || echo "coverage-reports directory not found"
383-
383+
384384 # Find and combine all coverage files
385385 find coverage-reports -name ".coverage*" -type f
386-
386+
387387 # Combine all coverage files
388388 coverage combine $(find coverage-reports -name ".coverage*" -type f -print)
389-
389+
390390 # Generate XML report for codecov
391391 coverage xml
392-
392+
393393 - name : Upload merged coverage to Codecov
394394 uses : codecov/codecov-action@v4
395395 with :
0 commit comments