How to test an overlay

I am thinking about how to test an overlay as part of a CI system, preferably using some variation of nix-build. It seems like it should be relatively straight forward, but its not coming to me. Any thoughts?

Although I now use GitHub Actions, I first used the NUR template as an example of how to set up a package set + overlay with CI: