cositools / cosipy

The COSI high-level data analysis tools
Apache License 2.0
3 stars 16 forks source link

Build docs for each PR #154

Open israelmcmc opened 4 months ago

israelmcmc commented 4 months ago

There is a way to build, but not deploy, the docs for each PR (not just main). This should be part of our standard CI tests.

israelmcmc commented 4 months ago

It seems the docs ARE built, see this Screenshot 2024-03-04 at 7 46 05 PM

We just need to find how to save and visualize the products (it gitlab this is called artifact), as well as to check that the build was successful. It should have failed for https://github.com/cositools/cosipy/pull/145, but it just threw a silent warning:

https://github.com/cositools/cosipy/actions/runs/8085015432/job/22091625786 Screenshot 2024-03-04 at 7 48 39 PM

ckarwin commented 4 months ago

Maybe something like this: https://github.com/marketplace/actions/sphinx-build ?