Skip to content

Commit 4323d34

Browse files
committed
trying another solution
1 parent 004af5f commit 4323d34

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

.github/workflows/uml.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,23 +9,32 @@ jobs:
99
runs-on: ubuntu-latest
1010
permissions: write-all
1111
steps:
12+
1213
- name: Checkout repository
1314
uses: actions/checkout@v4
1415
with:
1516
ref: main
17+
1618
- name: Set up Python
1719
uses: actions/setup-python@v5
1820
with:
1921
python-version: "3.10"
2022

23+
- name: Install dependencies
24+
run: |
25+
python -m pip install --upgrade pip
26+
pip install 'causalpy[docs]'
27+
sudo apt-get update && sudo apt-get install -y graphviz
28+
2129
- name: Configure Git Identity
2230
run: |
2331
git config user.name 'github-actions[bot]'
2432
git config user.email 'github-actions[bot]@users.noreply.github.com'
33+
2534
- name: Update the UML Diagrams
2635
run: |
27-
sudo apt-get update && sudo apt-get install -y graphviz
2836
make uml
37+
2938
- name: Detect UML changes
3039
id: changes
3140
run: |
@@ -36,6 +45,7 @@ jobs:
3645
else
3746
echo "changes_exist=true" >> $GITHUB_OUTPUT
3847
fi
48+
3949
- name: Create PR for changes
4050
if: steps.changes.outputs.changes_exist == 'true'
4151
run: |

Makefile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,4 @@ test:
1919
pytest
2020

2121
uml:
22-
conda install pylint
23-
pip install 'causalpy[docs]'
2422
pyreverse -o png causalpy --output-directory docs/source/_static --ignore tests

0 commit comments

Comments
 (0)