microsoft / PlanetaryComputerExamples

Examples of using the Planetary Computer
MIT License
366 stars 179 forks source link

add diff github action #214

Closed raybellwaves closed 2 years ago

raybellwaves commented 2 years ago

Following the comment here (https://github.com/microsoft/PlanetaryComputerExamples/issues/213#issuecomment-1226649498). I'm exploring the option git diff via nbdime (https://nbdime.readthedocs.io/en/latest/) via a GitHub Action (https://github.com/microsoft/PlanetaryComputerExamples/issues/213#issuecomment-1226649498).

I tinkered with this here: https://github.com/raybellwaves/nbdime_gha_test and was able to get output like below (https://github.com/raybellwaves/nbdime_gha_test/runs/8007629615?check_suite_focus=true - click on git diff to expand).

Screen Shot 2022-08-24 at 10 17 51 PM

No idea how slow this will be or (was fast enough in this PR) if it'll be any use but happy to take feedback nonetheless.