File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 9
9
runs-on : ubuntu-latest
10
10
permissions : write-all
11
11
steps :
12
+
12
13
- name : Checkout repository
13
14
uses : actions/checkout@v4
14
15
with :
15
16
ref : main
17
+
16
18
- name : Set up Python
17
19
uses : actions/setup-python@v5
18
20
with :
19
21
python-version : " 3.10"
20
22
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
+
21
29
- name : Configure Git Identity
22
30
run : |
23
31
git config user.name 'github-actions[bot]'
24
32
git config user.email 'github-actions[bot]@users.noreply.github.com'
33
+
25
34
- name : Update the UML Diagrams
26
35
run : |
27
- sudo apt-get update && sudo apt-get install -y graphviz
28
36
make uml
37
+
29
38
- name : Detect UML changes
30
39
id : changes
31
40
run : |
36
45
else
37
46
echo "changes_exist=true" >> $GITHUB_OUTPUT
38
47
fi
48
+
39
49
- name : Create PR for changes
40
50
if : steps.changes.outputs.changes_exist == 'true'
41
51
run : |
Original file line number Diff line number Diff line change 19
19
pytest
20
20
21
21
uml :
22
- conda install pylint
23
- pip install ' causalpy[docs]'
24
22
pyreverse -o png causalpy --output-directory docs/source/_static --ignore tests
You can’t perform that action at this time.
0 commit comments