Skip to content

Commit

Permalink
Try offscreen in code.
Browse files Browse the repository at this point in the history
  • Loading branch information
birdday committed Jan 1, 2025
1 parent e3ef114 commit aa9bc14
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/sphinx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: "3.10"
- name: Virtual Framebuffer
run: |
Xvfb :1 -screen 0 1280x1024x24 -auth localhost
export DISPLAY=:1
- name: Upgrade pip, install package, install requirements, build docs
run: |
pip install --upgrade pip
Expand Down
4 changes: 4 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
sys.path.insert(0, str(Path(__file__).resolve().parents[2]))
import atomaton

# Setup mayavi for offscreen else fails?
from mayavi import mlab
mlab.options.offscreen = True

# -- Project information -----------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information

Expand Down

0 comments on commit aa9bc14

Please sign in to comment.