@@ -386,7 +386,10 @@ jobs:
386
386
- name : Install OS packages
387
387
run : |
388
388
sudo apt update
389
- sudo apt-get install pandoc xvfb
389
+ sudo apt-get install pandoc
390
+
391
+ - name : Set up headless display
392
+ uses : pyvista/setup-headless-display-action@48066dd0b79cf46babc16223a1dce3aa4803ec43 # v4.0
390
393
391
394
- name : Configure Local Product Launcher for ACP
392
395
working-directory : tests/unittests
@@ -405,13 +408,12 @@ jobs:
405
408
run : |
406
409
docker pull $IMAGE_NAME
407
410
docker pull ghcr.io/ansys/tools-filetransfer:latest
408
- xvfb-run poetry run make -C doc doctest
411
+ poetry run make -C doc doctest
409
412
env :
410
413
LICENSE_SERVER : ${{ secrets.LICENSE_SERVER }}
411
414
IMAGE_NAME : ${{ env.DOCKER_IMAGE_NAME }}
412
415
PYACP_DOC_SKIP_GALLERY : " true"
413
416
PYACP_DOC_SKIP_API : " true"
414
- LIBGL_ALWAYS_SOFTWARE : 1
415
417
416
418
docs :
417
419
name : Build Documentation
@@ -448,7 +450,10 @@ jobs:
448
450
- name : Install OS packages
449
451
run : |
450
452
sudo apt update
451
- sudo apt-get install pandoc xvfb
453
+ sudo apt-get install pandoc
454
+
455
+ - name : Set up headless display
456
+ uses : pyvista/setup-headless-display-action@48066dd0b79cf46babc16223a1dce3aa4803ec43 # v4.0
452
457
453
458
- name : Install library, with dev group
454
459
run : |
@@ -496,7 +501,7 @@ jobs:
496
501
497
502
- name : Build HTML
498
503
run : |
499
- xvfb-run poetry run make -C doc html SPHINXOPTS="-W --keep-going -v $SPHINXOPT_NITPICKY"
504
+ poetry run make -C doc html SPHINXOPTS="-W --keep-going -v $SPHINXOPT_NITPICKY"
500
505
env :
501
506
PYMAPDL_IP : " 127.0.0.1"
502
507
PYMAPDL_PORT : " 50557"
@@ -505,7 +510,6 @@ jobs:
505
510
SPHINXOPT_NITPICKY : ${{ matrix.build_type == 'quick' && ' ' || '-n' }}
506
511
PYACP_DOC_SKIP_GALLERY : ${{ matrix.build_type == 'quick' && 'true' || 'false' }}
507
512
PYACP_DOC_SKIP_API : ${{ matrix.build_type == 'quick' && 'true' || 'false' }}
508
- LIBGL_ALWAYS_SOFTWARE : 1
509
513
510
514
- name : Stop and clean up MAPDL and DPF servers
511
515
run : |
@@ -534,10 +538,8 @@ jobs:
534
538
if : ${{ matrix.build_type == 'full' }}
535
539
536
540
- name : Build PDF Documentation
537
- run : xvfb-run poetry run make -C doc pdf
541
+ run : poetry run make -C doc pdf
538
542
if : ${{ matrix.build_type == 'full' }}
539
- env :
540
- LIBGL_ALWAYS_SOFTWARE : 1
541
543
542
544
- name : Upload PDF Documentation
543
545
uses : actions/upload-artifact@v4
0 commit comments