HopkinsIDD / flepiMoP

The Flexible Epidemic Modeling Pipeline
https://flepimop.org
GNU General Public License v3.0
9 stars 4 forks source link

Split Up "unit-tests" GitHub Action Into Multiple Actions #278

Open TimothyWillard opened 1 month ago

TimothyWillard commented 1 month ago

The "unit-tests" action (defined in .github/workflows/ci.yml) currently takes ~10.5 mins to run and is triggered on any PR to main, even if the changes have no changes to code. This action should be split up into:

  1. gempyor unit tests
  2. flepicommon unit tests
  3. inference unit tests

That are triggered by PRs to main that edit files in those respective packages (see on.push.paths docs). Furthermore, should upgrade from checkout v3 to v4 since that is causing warnings about Node16 being deprecated since last summer/fall.

An example of this action running unnecessarily: https://github.com/HopkinsIDD/flepiMoP/actions/runs/10149146115.