Skip to content

Commit 00366ad

Browse files
authored
Generate UML diagram (#588)
* Generate UML diagram * comment out needs for testing * fix path * look for files * Update pipeline.yml * Update pipeline.yml
1 parent 1421b86 commit 00366ad

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed

.ci_support/environment-uml.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
channels:
2+
- conda-forge
3+
dependencies:
4+
- python
5+
- pylint
6+
- graphviz

.github/workflows/pipeline.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -385,3 +385,28 @@ jobs:
385385
env:
386386
PR_URL: ${{github.event.pull_request.html_url}}
387387
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}
388+
389+
uml:
390+
needs: [unittest_old, unittest_win, unittest_openmpi, unittest_mpich, unittest_flux_openmpi, unittest_flux_mpich, notebooks, benchmark, minimal, pip_check, mypy]
391+
runs-on: ubuntu-latest
392+
steps:
393+
- uses: actions/checkout@v4
394+
- name: Conda config
395+
shell: bash -l {0}
396+
run: echo -e "channels:\n - conda-forge\n" > .condarc
397+
- uses: conda-incubator/setup-miniconda@v3
398+
with:
399+
python-version: "3.13"
400+
miniforge-version: latest
401+
condarc-file: .condarc
402+
environment-file: .ci_support/environment-uml.yml
403+
- name: Test
404+
shell: bash -l {0}
405+
timeout-minutes: 10
406+
run: |
407+
pyreverse -o png -p ./${{ github.event.repository.name }} ./${{ github.event.repository.name }}
408+
zip -m uml.zip *.png
409+
- uses: actions/upload-artifact@v4
410+
with:
411+
name: uml.zip
412+
path: uml.zip

0 commit comments

Comments
 (0)