-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
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
Redundant matrix strategy in .github/workflows/tests.yml
#116
Comments
Thank you for the feedback! Yes, I have observed this as well. I would avoid relying on additional Python versions being available in the runner image. The Since Nox 2020.5.24, there is a - run: nox --python=${{ matrix.python-version }} Unfortunately, this will run all sessions that have the specified Python version, even when they are not listed in |
Thank you for the elaborate answer! Including the session in the matrix is a great idea, which I will most likely opt for in my personal project. Thanks! |
I've just checked with Nox 2022.11.21 (on Windows); I think it can also help with missing interpreters on CI. Nox 2022.11.21 gives error on CI in that case (it was a warning earlier). See wntrblm/nox#567 |
Thanks for a great blog-series and repo!
I noticed that the matrix strategy
python-version: ['3.7', '3.8']
in.github/workflows/tests.yml
is redundant, since nox will take care of testing both versions anyway.The text was updated successfully, but these errors were encountered: