Fix nox coverage sessions
fedejaure opened this issue · 0 comments
fedejaure commented
Expected Behavior
❯ nox --force-color -s tests-3.11
nox > Running session tests-3.11
...
nox > inv tests
...
nox > Session tests-3.11 was successful.
nox > Running session coverage-3.11
...
nox > Session coverage-3.11 was successful.
nox > Ran multiple sessions:
nox > * tests-3.11: success
nox > * coverage-3.11: success
Actual Behavior
❯ nox --force-color -s tests-3.11
nox > Running session tests-3.11
...
nox > inv tests
...
nox > Session tests-3.11 was successful.
nox > Running session coverage
...
nox > inv coverage
Current Python version (3.12.2) is not allowed by the project (<3.12,>=3.11).
Please change python executable via the "env use" command.
nox > Command inv coverage failed with exit code 1
nox > Session coverage failed.
nox > Ran multiple sessions:
nox > * tests-3.11: success
nox > * coverage: failed