28
28
- name : Checkout
29
29
uses : actions/checkout@v2
30
30
31
+ - name : Show all env vars
32
+ run : |
33
+ printenv
34
+ shell : bash
35
+
31
36
- name : Use Python ${{env.PYTHON_VERSION}}
32
37
uses : actions/setup-python@v1
33
38
with :
92
97
- name : Checkout
93
98
uses : actions/checkout@v2
94
99
100
+ - name : Show all env vars
101
+ run : |
102
+ printenv
103
+ shell : bash
104
+
95
105
- name : Retrieve cached npm files
96
106
uses : actions/cache@v1
97
107
with :
@@ -201,6 +211,11 @@ jobs:
201
211
- name : Checkout
202
212
uses : actions/checkout@v2
203
213
214
+ - name : Show all env vars
215
+ run : |
216
+ printenv
217
+ shell : bash
218
+
204
219
- name : Retrieve cached npm files
205
220
uses : actions/cache@v1
206
221
with :
@@ -255,7 +270,7 @@ jobs:
255
270
- name : Install test requirements
256
271
run : python -m pip install --upgrade -r build/test-requirements.txt
257
272
258
- - name : Install IPython test requirements
273
+ - name : pip install ipython requirements
259
274
run : |
260
275
python -m pip install numpy
261
276
python -m pip install --upgrade -r ./build/ipython-test-requirements.txt
@@ -330,6 +345,13 @@ jobs:
330
345
& $condaExecPath create -p "./test_env2" -y python
331
346
& $condaExecPath create -p "~/test_env3" -y python
332
347
348
+ - name : Set CI_PYTHON_PATH and CI_DISABLE_AUTO_SELECTION
349
+ run : |
350
+ echo "::set-env name=CI_PYTHON_PATH::python"
351
+ echo "::set-env name=CI_DISABLE_AUTO_SELECTION::1"
352
+ shell : bash
353
+ if : matrix.test-suite != 'ts-unit'
354
+
333
355
# Run TypeScript unit tests only for Python 3.X.
334
356
- name : Run TypeScript unit tests
335
357
run : npm run test:unittests:cover
@@ -402,6 +424,16 @@ jobs:
402
424
- name : Checkout
403
425
uses : actions/checkout@v2
404
426
427
+ - name : Show all env vars
428
+ run : |
429
+ printenv
430
+ shell : bash
431
+
432
+ - name : Use Python ${{matrix.python}}
433
+ uses : actions/setup-python@v1
434
+ with :
435
+ python-version : ${{matrix.python}}
436
+
405
437
- name : Retrieve cached npm files
406
438
uses : actions/cache@v1
407
439
with :
@@ -411,6 +443,23 @@ jobs:
411
443
- name : Install dependencies (npm ci)
412
444
run : npm ci --prefer-offline
413
445
446
+ - name : pip install system test requirements
447
+ run : |
448
+ python -m pip install --upgrade -r build/test-requirements.txt
449
+ python -m pip --disable-pip-version-check install -t ./pythonFiles/lib/python --no-cache-dir --implementation py --no-deps --upgrade -r requirements.txt
450
+ python -m pip --disable-pip-version-check install -t ./pythonFiles/lib/python/old_ptvsd --no-cache-dir --implementation py --no-deps --upgrade 'ptvsd==4.3.2'
451
+ python -m pip --disable-pip-version-check install -t ./pythonFiles/lib/python/debugpy/no_wheels --no-cache-dir --implementation py --no-deps --upgrade --pre debugpy
452
+ shell : bash
453
+
454
+ - name : pip install ipython requirements
455
+ run : |
456
+ python -m pip install numpy
457
+ python -m pip install --upgrade -r ./build/ipython-test-requirements.txt
458
+
459
+ - name : pip install jupyter
460
+ run : |
461
+ python -m pip install --upgrade jupyter
462
+
414
463
- name : Download VSIX
415
464
uses : actions/download-artifact@v1
416
465
with :
@@ -425,6 +474,12 @@ jobs:
425
474
npx tsc -p ./
426
475
shell : bash
427
476
477
+ - name : Set CI_PYTHON_PATH and CI_DISABLE_AUTO_SELECTION
478
+ run : |
479
+ echo "::set-env name=CI_PYTHON_PATH::python"
480
+ echo "::set-env name=CI_DISABLE_AUTO_SELECTION::1"
481
+ shell : bash
482
+
428
483
- name : Run smoke tests
429
484
env :
430
485
DISPLAY : 10
0 commit comments