New issue 206: Add platform name tag to config options
https://bitbucket.org/hpk42/tox/issue/206/add-platform-name-tag-to-config-options

chriswwolfe:

It would be helpful if one could specify the platform on which a test 
environment should be executed. This would function in a manner similar to the 
python version tag.

I'm proposing this to address the following pain point: I'm building an 
application that will be run on linux and osx. I'm also building a bundled 
version of the application with py2app and pyobjc. Ideally, I'd like to have a 
tox env that is only run when the platform is osx.

The syntax I propose is

[testenv:bundle]
platforms = osx, linux

Here is a copy of the IRC log in which the issue was discussed (I pasted it as 
gist for formatting): https://gist.github.com/derwolfe/0f548b0dbfabbb89f5e1



_______________________________________________
pytest-commit mailing list
pytest-commit@python.org
https://mail.python.org/mailman/listinfo/pytest-commit

Reply via email to