@@ -119,7 +119,7 @@ jobs:
119119 # entry to lower the number of runners used, macOS runners are expensive,
120120 # and we assume that Ubuntu is enough to cover the UNIX case.
121121 os : [ubuntu-latest, windows-latest]
122- python : ['2.7', ' 3.x']
122+ python : ['3.x']
123123 test-suite : [ts-unit, python-unit, venv, single-workspace, multi-workspace, debugger, functional]
124124 steps :
125125 - name : Checkout
@@ -173,13 +173,7 @@ jobs:
173173 python -m pip --disable-pip-version-check install -r build/debugger-install-requirements.txt
174174 python ./pythonFiles/install_debugpy.py
175175 shell : bash
176- if : matrix.test-suite == 'debugger' && matrix.python != 2.7
177-
178- - name : Install debugpy wheel (Python 2.7)
179- run : |
180- python -m pip --disable-pip-version-check install -t ./pythonFiles/lib/python --no-cache-dir --implementation py --no-deps --upgrade --pre debugpy
181- shell : bash
182- if : matrix.test-suite == 'debugger' && matrix.python == 2.7
176+ if : matrix.test-suite == 'debugger'
183177
184178 - name : Install functional test requirements
185179 run : python -m pip install --upgrade -r ./build/functional-test-requirements.txt
@@ -190,7 +184,7 @@ jobs:
190184 TEST_FILES_SUFFIX : testvirtualenvs
191185 PYTHON_VIRTUAL_ENVS_LOCATION : ' ./src/tmp/envPaths.json'
192186 shell : pwsh
193- if : matrix.test-suite == 'venv' && matrix.python != 2.7
187+ if : matrix.test-suite == 'venv'
194188 run : |
195189 python -m pip install pipenv
196190 python -m pipenv run python ./build/ci/addEnvPath.py ${{ env.PYTHON_VIRTUAL_ENVS_LOCATION }} pipenvPath
0 commit comments