numtide / nix-filter

a small self-contained source filtering lib
MIT License
200 stars 17 forks source link

Make test cases runnable #7

Closed robwhitaker closed 3 years ago

robwhitaker commented 3 years ago

This is a fix for #6 .

It's implemented mostly in Nix, but could be changed into a shell script if that's preferable.

Empty lists mean no failures occurred for that test case.

robwhitaker commented 3 years ago

Using jq is probably the nicer way (using throw would prevent returning the result set, I'd imagine). Should we use a nix-shell shebang to bring in the jq dependency?

zimbatm commented 3 years ago

Ok. jq is common enough and already installed in GHA so no need.

zimbatm commented 3 years ago

Thanks!