sarugaku / shellingham

Tool to Detect Surrounding Shell
ISC License
222 stars 33 forks source link

Setup test matrix for CI #49

Closed JeppeKlitgaard closed 3 years ago

JeppeKlitgaard commented 3 years ago

This introduces a test matrix for CI.

Note that this fails for python versions less than 3.7 due to the setl dependency.

I will leave it to @uranusjr to decide whether to pin an appropriate version or drop support for older python versions.

I would suggest removing support for python 3.6 and below and doing version bumping to 1.5.0. Packages that depend on shellingham would then need to pin to 1.4.x if they want to preserve old Python version compatibility

I will add another PR based off of this one with the offending versions dropped.

JeppeKlitgaard commented 3 years ago

Note that a tox dev dependency has also been added to more easily faciliate local test matrixing.

The tox-gh-... dependency makes it easy to integrate this into the GitHub Actions test matrix.