File tree Expand file tree Collapse file tree 4 files changed +625
-9
lines changed Expand file tree Collapse file tree 4 files changed +625
-9
lines changed Original file line number Diff line number Diff line change @@ -30,22 +30,25 @@ jobs:
3030 steps :
3131 - name : Checkout
3232 uses : actions/checkout@v3
33+ - name : Install Poetry
34+ run : pipx install poetry
3335 - name : Install Python
3436 uses : actions/setup-python@v4
3537 with :
36- python-version : ' 3.10'
38+ python-version : ' 3.9'
39+ cache : ' poetry'
3740 - name : Setup Pages
3841 uses : actions/configure-pages@v2
3942 - name : Install Linux Dependencies
4043 run : sudo apt install libcairo2-dev libpango1.0-dev ffmpeg freeglut3-dev
4144 - name : Install Python dependencies
4245 run : pip install manim sphinx sphinx_click furo
4346 - name : Install local Python package
44- run : pip install -e .
47+ run : poetry install --with docs
4548 - name : Build animation and convert it into HTML slides
4649 run : |
47- manim example.py ConvertExample
48- manim-slides convert ConvertExample docs/source/_static/slides.html -cembedded=true -ccontrols=true
50+ poetry run manim example.py ConvertExample
51+ poetry run manim-slides convert ConvertExample docs/source/_static/slides.html -cembedded=true -ccontrols=true
4952 - name : Build docs
5053 run : cd docs && make html
5154 - name : Upload artifact
Original file line number Diff line number Diff line change 9595 - name : Install Manim Slides
9696 run : |
9797 poetry config experimental.new-installer false
98- poetry install
98+ poetry install --with test
9999
100100 # Render slides
101101 - name : Render slides
You can’t perform that action at this time.
0 commit comments