ROOT: tox-gh-actions won't override envlist because tox is not running in GitHub Actions py$(PYV): remove tox env folder $(@D)/.tox/py$(PYV) py$(PYV): commands[0]> python -m coverage erase py$(PYV): commands[1]> python -m coverage run -m pytest tests ============================= test session starts ============================== platform sunos5 -- Python $(PYTHON_VERSION).X -- $(@D)/.tox/py$(PYV)/bin/python cachedir: .tox/py$(PYV)/.pytest_cache hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('$(@D)/.hypothesis/examples') rootdir: $(@D) asyncio: mode=strict collecting ... collected 34 items tests/flake8_2020_test.py::test_ok[PY3 = sys.version_info[0] >= 3] PASSED tests/flake8_2020_test.py::test_ok[] PASSED tests/flake8_2020_test.py::test_ok[from sys import version as v\nprint(v[:3])] PASSED tests/flake8_2020_test.py::test_ok[import sys\nprint("{}.{}".format(*sys.version_info))] PASSED tests/flake8_2020_test.py::test_ok[import sys\nprint(sys.version)] PASSED tests/flake8_2020_test.py::test_ok[import sys\nprint(sys.version[:i])] PASSED tests/flake8_2020_test.py::test_py10_indexing_of_sys_version_string[from sys import version\npy_major = version[0]] PASSED tests/flake8_2020_test.py::test_py10_indexing_of_sys_version_string[import sys\npy_major = sys.version[0]] PASSED tests/flake8_2020_test.py::test_py10_slicing_of_sys_version_string[from sys import version\nprint(version[:1])] PASSED tests/flake8_2020_test.py::test_py10_slicing_of_sys_version_string[import sys\nprint(sys.version[:1])] PASSED tests/flake8_2020_test.py::test_py310_indexing_of_sys_version_string[from sys import version\npy_minor = version[2]] PASSED tests/flake8_2020_test.py::test_py310_indexing_of_sys_version_string[import sys\npy_minor = sys.version[2]] PASSED tests/flake8_2020_test.py::test_py310_slicing_of_sys_version_string[from sys import version\nprint(version[:3])] PASSED tests/flake8_2020_test.py::test_py310_slicing_of_sys_version_string[import sys\nprint(sys.version[:3])] PASSED tests/flake8_2020_test.py::test_py310_string_comparison[from sys import version\nversion < "3.5"] PASSED tests/flake8_2020_test.py::test_py310_string_comparison[import sys\nsys.version < "3.5"] PASSED tests/flake8_2020_test.py::test_py310_string_comparison[import sys\nsys.version <= "3.5"] PASSED tests/flake8_2020_test.py::test_py310_string_comparison[import sys\nsys.version > "3.5"] PASSED tests/flake8_2020_test.py::test_py310_string_comparison[import sys\nsys.version >= "3.5"] PASSED tests/flake8_2020_test.py::test_py310_string_comparison_of_1_char[from sys import version\nversion < "3"] PASSED tests/flake8_2020_test.py::test_py310_string_comparison_of_1_char[import sys\nsys.version < "3"] PASSED tests/flake8_2020_test.py::test_py310_string_comparison_of_1_char[import sys\nsys.version <= "3"] PASSED tests/flake8_2020_test.py::test_py310_string_comparison_of_1_char[import sys\nsys.version > "3"] PASSED tests/flake8_2020_test.py::test_py310_string_comparison_of_1_char[import sys\nsys.version >= "3"] PASSED tests/flake8_2020_test.py::test_py4_comparison_to_version_3[from sys import version_info\nPY2 = version_info[0] != 3] PASSED tests/flake8_2020_test.py::test_py4_comparison_to_version_3[from sys import version_info\nPY3 = version_info[0] == 3] PASSED tests/flake8_2020_test.py::test_py4_comparison_to_version_3[import sys\nPY2 = sys.version_info[0] != 3] PASSED tests/flake8_2020_test.py::test_py4_comparison_to_version_3[import sys\nPY3 = sys.version_info[0] == 3] PASSED tests/flake8_2020_test.py::test_py4_usage_of_six_py3[from six import PY3\nif PY3:\n print("3")\n] PASSED tests/flake8_2020_test.py::test_py4_usage_of_six_py3[import six\nif six.PY3:\n print("3")\n] PASSED tests/flake8_2020_test.py::test_version_info_index_one[from sys import version_info\nversion_info[1] < 6] PASSED tests/flake8_2020_test.py::test_version_info_index_one[import sys\nsys.version_info[1] >= 5] PASSED tests/flake8_2020_test.py::test_version_info_minor[from sys import version_info\nversion_info.minor > 8] PASSED tests/flake8_2020_test.py::test_version_info_minor[import sys\nsys.version_info.minor <= 7] PASSED ======== 34 passed ======== py$(PYV): commands[2]> python -m coverage report Name Stmts Miss Branch BrPart Cover Missing --------------------------------------------------- TOTAL 110 0 30 0 100% 3 files skipped due to complete coverage. py$(PYV): OK congratulations :)