We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No description provided.
The text was updated successfully, but these errors were encountered:
To your question in #13 about how I used tox, it was pretty basic. Given the environments listed for envlist in my tox.ini
tox
envlist
tox -e py35
Which is probably not terribly useful info to get up to speed with the command line.
But, it looks like if we were to use tox-gh-actions then we'd also be calling just tox in the build.yml's run step, such as in the workflow samples here and here, because "tox-gh-actions assumes that Python version used for running tox is the Python version users want to use when running tox environments". So it looks like a simple call to tox in the run step will pick the right environment.
run
Going on their Using Factors to Decide Environments sample in their architecture doc, the tox.ini could look something like:
[tox] envlist = py{35,36,37,38,39}-{linux,windows,macos} [gh-actions] python = 3.5: py35 3.6: py36 3.7: py37 3.8: py38 3.9: py39 [gh-actions:env] PLATFORM = ubuntu-latest: linux macos-latest: macos windows-latest: windows [testenv:py35-{linux,windows,macos}] deps = pytest numpy==1.13.3 scipy==1.3.3 commands = pytest -q -s tests [testenv:py36-{linux,windows,macos}] deps = pytest pytest-cov numpy==1.14.5 scipy==1.5.0 commands = pytest -q -s tests pytest --cov=morphops tests/ [testenv] deps = pytest commands = pytest -q -s tests
where I suppose we're using fancy-pants Generative envlist and Generative section names.
Sorry, something went wrong.
No branches or pull requests
No description provided.
The text was updated successfully, but these errors were encountered: