h2oai / wave

Realtime Web Apps and Dashboards for Python and R
https://wave.h2o.ai
Apache License 2.0
3.9k stars 323 forks source link

Try generating docs widget images in a headed mode within CI #2314

Open mturoci opened 2 months ago

mturoci commented 2 months ago

Needed for properly displaying pdf (and possibly other embeds) - https://github.com/h2oai/wave/pull/2311/.

Should be possible based on https://playwright.dev/python/docs/ci#running-headed.

The headed mode can be adjusted here, headless mode should only be enabled for tests, not for docs generating .launch(headless=is_test).

The goal of this issue is to verify that headed mode can run within Github Actions and adjust the current release action as needed.