@@ -167,9 +167,38 @@ jobs:
167167 - name : Notebooks
168168 shell : bash -l {0}
169169 timeout-minutes : 5
170- run : >
171- flux start
172- .ci_support/build_notebooks.sh
170+ run : |
171+ papermill notebooks/1-single-node.ipynb notebooks/1-single-node-out.ipynb -k python3
172+ flux start papermill notebooks/2-hpc-cluster.ipynb notebooks/2-hpc-cluster-out.ipynb -k python3
173+ flux start papermill notebooks/3-hpc-job.ipynb notebooks/3-hpc-job-out.ipynb -k python3
174+ papermill notebooks/4-developer.ipynb notebooks/4-developer-out.ipynb -k python3
175+
176+ notebooks_integration :
177+ needs : [black]
178+ runs-on : ubuntu-latest
179+ steps :
180+ - uses : actions/checkout@v4
181+ - name : Merge Notebook environment
182+ run : |
183+ echo -e "channels:\n - conda-forge\n" > .condarc
184+ - name : Setup Mambaforge
185+ uses : conda-incubator/setup-miniconda@v3
186+ with :
187+ python-version : " 3.12"
188+ miniforge-version : latest
189+ condarc-file : .condarc
190+ environment-file : .ci_support/environment-integration.yml
191+ - name : Install
192+ shell : bash -l {0}
193+ run : |
194+ pip install versioneer[toml]==0.29
195+ pip install . --no-deps --no-build-isolation
196+ - name : Notebooks
197+ shell : bash -l {0}
198+ timeout-minutes : 20
199+ run : |
200+ flux start papermill notebooks/5-1-gpaw.ipynb notebooks/5-1-gpaw-out.ipynb -k python3
201+ flux start papermill notebooks/5-2-quantum-espresso.ipynb notebooks/5-2-quantum-espresso-out.ipynb -k python3
173202
174203 unittest_flux_mpich :
175204 needs : [black]
@@ -200,7 +229,7 @@ jobs:
200229 timeout-minutes : 5
201230 run : >
202231 flux start
203- python -m unittest tests/test_flux_executor .py tests/test_executor_backend_flux .py tests/test_cache_executor_pysqa_flux .py tests/test_plot_dependency_flux .py;
232+ python -m unittest tests/test_fluxpythonspawner .py tests/test_fluxjobexecutor_plot .py tests/test_fluxjobexecutor .py tests/test_fluxclusterexecutor .py;
204233
205234 unittest_flux_openmpi :
206235 needs : [black]
@@ -231,7 +260,7 @@ jobs:
231260 timeout-minutes : 5
232261 run : >
233262 flux start
234- coverage run -a --omit="executorlib/_version.py,tests/*" -m unittest tests/test_flux_executor .py tests/test_executor_backend_flux .py tests/test_cache_executor_pysqa_flux .py tests/test_plot_dependency_flux .py;
263+ coverage run -a --omit="executorlib/_version.py,tests/*" -m unittest tests/test_fluxpythonspawner .py tests/test_fluxjobexecutor_plot .py tests/test_fluxjobexecutor .py tests/test_fluxclusterexecutor .py;
235264 coverage xml
236265 env :
237266 EXECUTORLIB_PMIX : " pmix"
@@ -259,9 +288,6 @@ jobs:
259288 - operating-system : ubuntu-latest
260289 python-version : ' 3.11'
261290
262- - operating-system : ubuntu-latest
263- python-version : ' 3.10'
264-
265291 steps :
266292 - uses : actions/checkout@v4
267293 - name : Conda config
@@ -300,9 +326,6 @@ jobs:
300326 - operating-system : ubuntu-latest
301327 python-version : ' 3.11'
302328
303- - operating-system : ubuntu-latest
304- python-version : ' 3.10'
305-
306329 steps :
307330 - uses : actions/checkout@v4
308331 - name : Conda config
@@ -385,3 +408,28 @@ jobs:
385408 env :
386409 PR_URL : ${{github.event.pull_request.html_url}}
387410 GH_TOKEN : ${{secrets.GITHUB_TOKEN}}
411+
412+ uml :
413+ needs : [unittest_old, unittest_win, unittest_openmpi, unittest_mpich, unittest_flux_openmpi, unittest_flux_mpich, notebooks, benchmark, minimal, pip_check, mypy]
414+ runs-on : ubuntu-latest
415+ steps :
416+ - uses : actions/checkout@v4
417+ - name : Conda config
418+ shell : bash -l {0}
419+ run : echo -e "channels:\n - conda-forge\n" > .condarc
420+ - uses : conda-incubator/setup-miniconda@v3
421+ with :
422+ python-version : " 3.13"
423+ miniforge-version : latest
424+ condarc-file : .condarc
425+ environment-file : .ci_support/environment-uml.yml
426+ - name : Test
427+ shell : bash -l {0}
428+ timeout-minutes : 10
429+ run : |
430+ pyreverse -o png -p ./${{ github.event.repository.name }} ./${{ github.event.repository.name }}
431+ zip -m uml.zip *.png
432+ - uses : actions/upload-artifact@v4
433+ with :
434+ name : uml.zip
435+ path : uml.zip
0 commit comments