Skip to content

Set the size via imgui.io instead of using the psize parameter of the render method. #1132

Set the size via imgui.io instead of using the psize parameter of the render method.

Set the size via imgui.io instead of using the psize parameter of the render method. #1132

Workflow file for this run

name: Screenshots
on:
workflow_dispatch:
pull_request:
branches:
- main
jobs:
screenshots:
name: Regenerate screenshot
timeout-minutes: 10
runs-on: 'ubuntu-latest'
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install llvmpipe and lavapipe for offscreen canvas
run: |
sudo apt-get update -y -qq
sudo apt install -y libegl1-mesa-dev libgl1-mesa-dri libxcb-xfixes0-dev mesa-vulkan-drivers
- name: Install dev dependencies
run: |
python -m pip install --upgrade pip
pip install -U -e .[tests,examples]
- name: Regenerate screenshots
run: |
pytest -v --regenerate-screenshots -k test_examples_screenshots examples
- uses: actions/upload-artifact@v4
if: always()
with:
name: screenshots
path: examples/screenshots