-
I want to test my project against both PyPy 3.6 and 3.7. My tox-gh-actions is set up in my tox.ini like this:
Here's a run of my GitHub Actions workflow: https://github.com/brechtm/rinohtype/actions/runs/515676468. For the pypy-3.6 unit tests jobs on Ubuntu and macOS, tox-gh-actions produces an empty envlist. The pypy-3.7 job works correctly ( On Windows, the PyPy jobs actually run on CPython 3.9. But I think that's not an issue with tox-gh-actions since the Poetry venv is created using CPython 3.9 for some reason. While the pypy36 and pypy37 envs aren't explicitly listed in the tox docs, they do seem to do the right thing when I run tox locally. I have verified this with PyPy 3.7 on macOS. I don't have PyPy 3.6 installed, but at least tox is attempting to run the correct interpreter:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I may just have misunderstood how tox-gh-actions works. After discovering #44, I think I may need to include pypy36 in envlist? However, I would rather not, since I don't have pypy3.6 installed locally... |
Beta Was this translation helpful? Give feedback.
-
@brechtm, thanks for filing an issue. As you found in #44 (comment), this is the current expected behavior of tox-gh-actions. Users are expected to add list of environments to run to |
Beta Was this translation helpful? Give feedback.
@brechtm, thanks for filing an issue. As you found in #44 (comment), this is the current expected behavior of tox-gh-actions. Users are expected to add list of environments to run to
envlist
. Use ofskip_missing_interpreters
option provided by tox can be one workaround for local environment without all interpreters.