Skip to content

release v2.0.2

release v2.0.2 #1103

Workflow file for this run

name: Update UML diagrams
on:
pull_request_review:
types: [submitted]
branches: development
workflow_dispatch:
jobs:
diagrams:
if: github.event.review.state == 'approved'
name: Update UML diagrams
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
ref: ${{ github.event.pull_request.head.ref }}
- name: set up environment
run: |
pip install -U pip
pip install -r requirements.txt
pip install icepyx pylint
sudo apt-get install graphviz
- name: run pyreverse
run: |
pyreverse ./icepyx/core -p user_uml -o svg
pyreverse ./icepyx/quest -p quest_user_uml -o svg
pyreverse ./icepyx/core ./icepyx/quest -f ALL -p dev_uml -o svg
rm ./packages_dev_uml.svg
mv ./*.svg ./doc/source/user_guide/documentation/
- name: Commit changes
uses: EndBug/add-and-commit@a94899bca583c204427a224a7af87c02f9b325d5 # v9.1.4
with:
author_name: GitHub Action
message: "GitHub action UML generation auto-update"
add: "./doc/source/user_guide/documentation/*"