File tree Expand file tree Collapse file tree 6 files changed +130
-339
lines changed
Expand file tree Collapse file tree 6 files changed +130
-339
lines changed Original file line number Diff line number Diff line change 8080 runs-on : ubuntu-latest
8181 timeout-minutes : 60
8282 steps :
83+ - name : ' Install Dependencies'
84+ run : |
85+ sudo apt-get update &&
86+ sudo env DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
87+ graphviz \
88+ ;
8389 - uses : actions/checkout@v4
8490 - name : ' Set up Python'
8591 uses : actions/setup-python@v5
Original file line number Diff line number Diff line change @@ -11,25 +11,26 @@ build:
1111 os : ubuntu-24.04
1212 tools :
1313 python : " 3"
14+ apt_packages :
15+ - graphviz
16+ jobs :
17+ post_checkout :
18+ # https://docs.readthedocs.io/en/stable/build-customization.html#cancel-build-based-on-a-condition
19+ #
20+ # Cancel building pull requests when there aren't changes in the Doc directory.
21+ #
22+ # If there are no changes (git diff exits with 0) we force the command to return with 183.
23+ # This is a special exit code on Read the Docs that will cancel the build immediately.
24+ - |
25+ if [ "$READTHEDOCS_VERSION_TYPE" = "external" ] && [ "$(git diff --quiet origin/main -- Doc/ .readthedocs.yml; echo $?)" -eq 0 ];
26+ then
27+ echo "No changes to Doc/ - exiting the build.";
28+ exit 183;
29+ fi
1430
15- commands :
16- # https://docs.readthedocs.io/en/stable/build-customization.html#cancel-build-based-on-a-condition
17- #
18- # Cancel building pull requests when there aren't changes in the Doc directory.
19- #
20- # If there are no changes (git diff exits with 0) we force the command to return with 183.
21- # This is a special exit code on Read the Docs that will cancel the build immediately.
22- - |
23- if [ "$READTHEDOCS_VERSION_TYPE" = "external" ] && [ "$(git diff --quiet origin/main -- Doc/ .readthedocs.yml; echo $?)" -eq 0 ];
24- then
25- echo "No changes to Doc/ - exiting the build.";
26- exit 183;
27- fi
28-
29- - asdf plugin add uv
30- - asdf install uv latest
31- - asdf global uv latest
32- - make -C Doc venv html
33- - mkdir _readthedocs
34- - mv Doc/build/html _readthedocs/html
35-
31+ - asdf plugin add uv
32+ - asdf install uv latest
33+ - asdf global uv latest
34+ - make -C Doc venv html
35+ - mkdir _readthedocs
36+ - mv Doc/build/html _readthedocs/html
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments