File tree Expand file tree Collapse file tree 4 files changed +11
-11
lines changed
Expand file tree Collapse file tree 4 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -193,7 +193,7 @@ jobs:
193193 - name : Install OS packages
194194 run : |
195195 sudo apt update
196- sudo apt install zip pandoc libgl1-mesa-glx xvfb
196+ sudo apt install libgl1-mesa-glx xvfb
197197
198198 - name : Cache pip
199199 uses : actions/cache@v2
Original file line number Diff line number Diff line change 11name : Nightly Documentation Build
22
33on :
4+ pull_request :
45 schedule : # UTC at 0400
56 - cron : ' 0 4 * * *'
67 workflow_dispatch :
@@ -20,22 +21,21 @@ jobs:
2021 - uses : actions/checkout@v2
2122
2223 - name : Setup Python
23- uses : actions/setup-python@v2.1.4
24+ uses : actions/setup-python@v2
2425 with :
25- python-version : 3.7
26+ python-version : 3.8
2627
27- - name : Install, start, and test the virtual framebuffer
28+ - name : Install OS packages
2829 run : |
29- .ci/setup_headless_display.sh
30- pip install -r .ci/requirements_test_xvfb.txt
31- python .ci/display_test.py
30+ sudo apt update
31+ sudo apt install libgl1-mesa-glx xvfb
3232
3333 - name : Install ansys-mapdl-core
3434 run : |
3535 pip install -r requirements_build.txt
3636 python setup.py bdist_wheel
3737 pip install dist/ansys*.whl
38- python -c "from ansys.mapdl import core as pymapdl; print(pymapdl.Report())"
38+ xvfb-run python -c "from ansys.mapdl import core as pymapdl; print(pymapdl.Report())"
3939
4040 - name : Pull, launch, and validate MAPDL service
4141 run : |
5353 run : |
5454 sudo apt install pandoc -qy
5555 pip install -r requirements_docs.txt
56- make -C doc html
56+ xvfb-run make -C doc html
5757
5858 - name : Deploy
5959
Original file line number Diff line number Diff line change 158158
159159# -- Options for HTML output -------------------------------------------------
160160html_theme = "pyansys_sphinx_theme"
161- html_logo = "https://docs.pyansys.com/ _static/ pyansys-logo-black-cropped.png"
161+ html_logo = os . path . join ( " _static" , " pyansys-logo-black-cropped.png")
162162html_theme_options = {
163163 "github_url" : "https://github.com/pyansys/pymapdl" ,
164164 "show_prev_next" : False ,
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ pypandoc>=1.5.0
22matplotlib
33imageio>=2.5.0
44imageio-ffmpeg
5- Sphinx==4.0.3
5+ Sphinx
66sphinx-autobuild
77sphinxcontrib-websupport
88pytest-sphinx
You can’t perform that action at this time.
0 commit comments