data-morph icon indicating copy to clipboard operation
data-morph copied to clipboard

Add GitHub Action to generate GIFs for all datasets/shapes when someone adds a new one in a PR

Open stefmolin opened this issue 1 year ago • 2 comments

Is your feature request related to a problem? Please describe. When testing a new dataset or shape that someone proposes, I have to run the transformations on every possible combination with that shape or dataset.

Describe the solution you'd like I would like to have a GitHub Action that only runs when a new dataset or shape is added and creates an artifact with all of the GIFs that I can review.

Additional context A good starting point would be to enable passing all as a dataset (data-morph --start-shape all).

stefmolin avatar Sep 23 '24 03:09 stefmolin

/take

JohnAZoidberg avatar Sep 23 '24 03:09 JohnAZoidberg

Goal:

  • [x] Generate morphs
    • [x] Run one morph if core code changed
    • [x] Run 1 to N if dataset added or changed
    • [x] Run N to 1 if shape added or changed
  • [x] Upload as GH actions artifact
  • [ ] Upload as a comment on the PR

JohnAZoidberg avatar Sep 23 '24 03:09 JohnAZoidberg