cagov / caldata-infrastructure-template

Template for bootstrapping MDSA projects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Figure out how to test template actions

ian-r-rose opened this issue · comments

One persistent pain point here is that we aren't testing the GitHub actions in the project template, which means that breaks to them aren't caught in CI here. So new projects will have a bit of scrambling to make whatever fixes need to be made whenever they are first pushed to GitHub.

It would be great if we could figure out some way of testing the actions here, though it's not trivial as

  1. They exist in a different directory from the expected one .github, and
  2. They are jinja templated, so aren't valid actions until they are rendered.

I don't have a good idea for how to do this right now.