cclauss / GitHub-Action-for-pytest

A GitHub Action to run a pytest command when new code is pushed into your repo
Apache License 2.0
55 stars 24 forks source link

Would it be possible/useful to add tox to test on multiple Python versions? #1

Open cclauss opened 5 years ago

cclauss commented 5 years ago

https://tox.readthedocs.io

[tox]
envlist = py27,py35,py36,py37

[testenv]
# install pytest in the virtualenv where commands will be executed
deps = pytest
commands =
    # NOTE: you can run any command line tool here - not just tests
    pytest

@RonnyPfannschmidt Your thoughts?

RonnyPfannschmidt commented 5 years ago

thats just a example tox configuration - projects typically have own tox configurations

RonnyPfannschmidt commented 5 years ago

to elaborate, this would be most/more useful i each tox env that is intended to be used was mapped to a own potentially parallel action- its not clear to me if/how github actions can provide that automatically