IBM / jsonsubschema

Tool for checking whether a JSON schema is a subschema of another JSON schema.
Apache License 2.0
82 stars 17 forks source link

Switch to GitHub Actions #22

Closed michaelmior closed 1 month ago

michaelmior commented 1 month ago

This removes the Travis CI configuration and runs tests on GitHub Actions instead. For now I've just removed Codecov, but this at least gets the tests running again. Also supercedes #18.

michaelmior commented 1 month ago

Strange. Tests on Python 3.7 passed on my own fork.

shinnar commented 1 month ago

Thanks so much for this!

Two comments:

michaelmior commented 1 month ago

Agreed that Python 3.7 should just be removed. I would also suggest adding 3.11 and maybe 3.12. requirements.txt was added because it's necessary for caching support in GitHub Actions. Agreed that the duplication is bad and reading that in setup.py seems like a good solution.

michaelmior commented 1 month ago

I will say however that the two are intended for different purposes and arguably should be kept separate.

michaelmior commented 1 month ago

Also, apparently specifying a single . in the requirements.txt will cause it to read from setup.py, which I think would be a better alternative.

michaelmior commented 1 month ago

Okay, I've updated the PR to test against Python 3.8-3.12 and removed the duplication in requirements.txt.

shinnar commented 1 month ago

Merged! Thanks!