-
Relevant parts of my tox.ini look like:
And I followed the README here to set up my gh actions config file: https://github.com/adrn/pyia/blob/main/.github/workflows/tests.yml But it looks like the wrong envs are running with versions of Python. For example, in the py3.7 ubuntu test, only Do you have any tips? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
@adrn, thanks for the question. Let me answer the question on Python 3.7 first. I assume you want to run the following environments on Python 3.7 jobs.
If you want to achieve this behavior, we need to update the [gh-actions]
python =
3.7: py37-cov, py37-numpy{117,118,119}, py37-astropy{40,lts}, build_docs
3.8: py38 tox-gh-actions find which environments to run based on factors. Factors are an environment name delimited by hyphens. With the previous configuration, tox-gh-actions tries to find a list of environments which has |
Beta Was this translation helpful? Give feedback.
-
Ah, that makes sense - thanks for the response! |
Beta Was this translation helpful? Give feedback.
-
I'm still investigating the second issue, Python 3.8 on macOS. As far as I checked logs using |
Beta Was this translation helpful? Give feedback.
-
A working example (Python 3.7 + macOS): https://github.com/ymyzk/pyia/runs/865503679
A non-working example (Python 3.8 + macOS): https://github.com/ymyzk/pyia/runs/865503728
This part I'm still not clear why adding |
Beta Was this translation helpful? Give feedback.
-
Thanks @ymyzk -- this was very helpful! |
Beta Was this translation helpful? Give feedback.
A working example (Python 3.7 + macOS): https://github.com/ymyzk/pyia/runs/865503679