Document how to add tests to head.hackage
At the moment, the README in head.hackage doesn't provide instructions to add a test.
I experimented adding a test in !350 (merged) (commit b51bb142). This adds a branch of the liquidhaskell
repo as a submodule, and runs the tests there, building liquidhaskell-boot
from there as well.
But I'm realizing now that as soon as the liquidhaskell-boot
patch is updated, the changes will need to be manually applied to the submodule for the tests to pass. Maybe I should create a separate package for these tests so liquidhaskell-boot
is not rebuilt. But patches to the tests themselves will still be necessary in the submodule. Perhaps CI should apply the patch of liquidhaskell-boot
to the submodule before running the tests (?).
While I'll be thankful for any advice for my case, I realize that probably other contributors of head.hackage
will need this guidance too.