Skip to content

Commit b4641ae

Browse files
authored
Disable insiders tests (microsoft#16626)
1 parent 452d11e commit b4641ae

2 files changed

Lines changed: 125 additions & 125 deletions

File tree

.github/workflows/build.yml

Lines changed: 62 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -388,68 +388,68 @@ jobs:
388388
with:
389389
run: node --no-force-async-hooks-checks ./out/test/smokeTest.js
390390

391-
insider-tests:
392-
name: Insider tests
393-
if: github.repository == 'microsoft/vscode-python'
394-
runs-on: ${{ matrix.os }}
395-
strategy:
396-
fail-fast: false
397-
matrix:
398-
# We're not running CI on macOS for now because it's one less matrix entry to lower the number of runners used,
399-
# macOS runners are expensive, and we assume that Ubuntu is enough to cover the UNIX case.
400-
os: [ubuntu-latest]
401-
python: [3.8] # For Jupyter.
402-
steps:
403-
- name: Checkout
404-
uses: actions/checkout@v2.3.4
405-
406-
- name: Install Node
407-
uses: actions/setup-node@v2.1.5
408-
with:
409-
node-version: ${{env.NODE_VERSION}}
410-
411-
- name: Use Python ${{matrix.python}}
412-
uses: actions/setup-python@v2
413-
with:
414-
python-version: ${{matrix.python}}
415-
416-
- name: Install dependencies (npm ci)
417-
run: npm ci --prefer-offline
418-
419-
- name: pip install system test requirements
420-
run: |
421-
python -m pip install --upgrade -r build/test-requirements.txt
422-
python -m pip --disable-pip-version-check install -t ./pythonFiles/lib/python --no-cache-dir --implementation py --no-deps --upgrade -r requirements.txt
423-
python -m pip --disable-pip-version-check install -t ./pythonFiles/lib/python --no-cache-dir --implementation py --no-deps --upgrade --pre debugpy
424-
shell: bash
425-
426-
- name: pip install smoke test requirements
427-
run: |
428-
python -m pip install --upgrade -r build/smoke-test-requirements.txt
429-
shell: bash
430-
431-
# Compile the test files.
432-
- name: Prepare for insiders tests
433-
run: npm run prePublish
434-
shell: bash
435-
436-
- name: Set CI_PYTHON_PATH and CI_DISABLE_AUTO_SELECTION
437-
run: |
438-
echo "CI_PYTHON_PATH=python" >> $GITHUB_ENV
439-
echo "CI_DISABLE_AUTO_SELECTION=1" >> $GITHUB_ENV
440-
shell: bash
441-
442-
- name: Run insider tests
443-
env:
444-
DISPLAY: 10
445-
INSTALL_JUPYTER_EXTENSION: true
446-
INSTALL_PYLANCE_EXTENSION: true
447-
VSC_PYTHON_CI_TEST_VSC_CHANNEL: insiders
448-
TEST_FILES_SUFFIX: insiders.test
449-
CODE_TESTS_WORKSPACE: ./src/testMultiRootWkspc/smokeTests
450-
uses: GabrielBB/xvfb-action@v1.5
451-
with:
452-
run: node --no-force-async-hooks-checks ./out/test/standardTest.js
391+
# insider-tests:
392+
# name: Insider tests
393+
# if: github.repository == 'microsoft/vscode-python'
394+
# runs-on: ${{ matrix.os }}
395+
# strategy:
396+
# fail-fast: false
397+
# matrix:
398+
# # We're not running CI on macOS for now because it's one less matrix entry to lower the number of runners used,
399+
# # macOS runners are expensive, and we assume that Ubuntu is enough to cover the UNIX case.
400+
# os: [ubuntu-latest]
401+
# python: [3.8] # For Jupyter.
402+
# steps:
403+
# - name: Checkout
404+
# uses: actions/checkout@v2.3.4
405+
406+
# - name: Install Node
407+
# uses: actions/setup-node@v2.1.5
408+
# with:
409+
# node-version: ${{env.NODE_VERSION}}
410+
411+
# - name: Use Python ${{matrix.python}}
412+
# uses: actions/setup-python@v2
413+
# with:
414+
# python-version: ${{matrix.python}}
415+
416+
# - name: Install dependencies (npm ci)
417+
# run: npm ci --prefer-offline
418+
419+
# - name: pip install system test requirements
420+
# run: |
421+
# python -m pip install --upgrade -r build/test-requirements.txt
422+
# python -m pip --disable-pip-version-check install -t ./pythonFiles/lib/python --no-cache-dir --implementation py --no-deps --upgrade -r requirements.txt
423+
# python -m pip --disable-pip-version-check install -t ./pythonFiles/lib/python --no-cache-dir --implementation py --no-deps --upgrade --pre debugpy
424+
# shell: bash
425+
426+
# - name: pip install smoke test requirements
427+
# run: |
428+
# python -m pip install --upgrade -r build/smoke-test-requirements.txt
429+
# shell: bash
430+
431+
# # Compile the test files.
432+
# - name: Prepare for insiders tests
433+
# run: npm run prePublish
434+
# shell: bash
435+
436+
# - name: Set CI_PYTHON_PATH and CI_DISABLE_AUTO_SELECTION
437+
# run: |
438+
# echo "CI_PYTHON_PATH=python" >> $GITHUB_ENV
439+
# echo "CI_DISABLE_AUTO_SELECTION=1" >> $GITHUB_ENV
440+
# shell: bash
441+
442+
# - name: Run insider tests
443+
# env:
444+
# DISPLAY: 10
445+
# INSTALL_JUPYTER_EXTENSION: true
446+
# INSTALL_PYLANCE_EXTENSION: true
447+
# VSC_PYTHON_CI_TEST_VSC_CHANNEL: insiders
448+
# TEST_FILES_SUFFIX: insiders.test
449+
# CODE_TESTS_WORKSPACE: ./src/testMultiRootWkspc/smokeTests
450+
# uses: GabrielBB/xvfb-action@v1.5
451+
# with:
452+
# run: node --no-force-async-hooks-checks ./out/test/standardTest.js
453453

454454
upload:
455455
name: Upload VSIX to Azure Blob Storage

.github/workflows/pr-check.yml

Lines changed: 63 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -372,69 +372,69 @@ jobs:
372372
with:
373373
run: node --no-force-async-hooks-checks ./out/test/smokeTest.js
374374

375-
insider-tests:
376-
name: Insider tests
377-
# The value of runs-on is the OS of the current job (specified in the strategy matrix below) instead of being hardcoded.
378-
runs-on: ${{ matrix.os }}
379-
strategy:
380-
fail-fast: false
381-
matrix:
382-
# We're not running CI on macOS for now because it's one less matrix entry to lower the number of runners used,
383-
# macOS runners are expensive, and we assume that Ubuntu is enough to cover the UNIX case.
384-
os: [ubuntu-latest]
385-
python: [3.8]
386-
steps:
387-
# Need the source to have the tests available.
388-
- name: Checkout
389-
uses: actions/checkout@v2.3.4
390-
391-
- name: Install Node
392-
uses: actions/setup-node@v2.1.5
393-
with:
394-
node-version: ${{env.NODE_VERSION}}
395-
396-
- name: Use Python ${{matrix.python}}
397-
uses: actions/setup-python@v2
398-
with:
399-
python-version: ${{matrix.python}}
400-
401-
- name: Install dependencies (npm ci)
402-
run: npm ci --prefer-offline
403-
404-
- name: pip install system test requirements
405-
run: |
406-
python -m pip install --upgrade -r build/test-requirements.txt
407-
python -m pip --disable-pip-version-check install -t ./pythonFiles/lib/python --no-cache-dir --implementation py --no-deps --upgrade -r requirements.txt
408-
python -m pip --disable-pip-version-check install -t ./pythonFiles/lib/python --no-cache-dir --implementation py --no-deps --upgrade --pre debugpy
409-
shell: bash
410-
411-
- name: pip install smoke test requirements
412-
run: |
413-
python -m pip install --upgrade -r build/smoke-test-requirements.txt
414-
shell: bash
415-
416-
# Compile the test files.
417-
- name: Prepare for insiders tests
418-
run: npm run prePublish
419-
shell: bash
420-
421-
- name: Set CI_PYTHON_PATH and CI_DISABLE_AUTO_SELECTION
422-
run: |
423-
echo "CI_PYTHON_PATH=python" >> $GITHUB_ENV
424-
echo "CI_DISABLE_AUTO_SELECTION=1" >> $GITHUB_ENV
425-
shell: bash
426-
427-
- name: Run insider tests
428-
env:
429-
DISPLAY: 10
430-
INSTALL_JUPYTER_EXTENSION: true
431-
INSTALL_PYLANCE_EXTENSION: true
432-
VSC_PYTHON_CI_TEST_VSC_CHANNEL: insiders
433-
TEST_FILES_SUFFIX: insiders.test
434-
CODE_TESTS_WORKSPACE: ./src/testMultiRootWkspc/smokeTests
435-
uses: GabrielBB/xvfb-action@v1.5
436-
with:
437-
run: node --no-force-async-hooks-checks ./out/test/standardTest.js
375+
# insider-tests:
376+
# name: Insider tests
377+
# # The value of runs-on is the OS of the current job (specified in the strategy matrix below) instead of being hardcoded.
378+
# runs-on: ${{ matrix.os }}
379+
# strategy:
380+
# fail-fast: false
381+
# matrix:
382+
# # We're not running CI on macOS for now because it's one less matrix entry to lower the number of runners used,
383+
# # macOS runners are expensive, and we assume that Ubuntu is enough to cover the UNIX case.
384+
# os: [ubuntu-latest]
385+
# python: [3.8]
386+
# steps:
387+
# # Need the source to have the tests available.
388+
# - name: Checkout
389+
# uses: actions/checkout@v2.3.4
390+
391+
# - name: Install Node
392+
# uses: actions/setup-node@v2.1.5
393+
# with:
394+
# node-version: ${{env.NODE_VERSION}}
395+
396+
# - name: Use Python ${{matrix.python}}
397+
# uses: actions/setup-python@v2
398+
# with:
399+
# python-version: ${{matrix.python}}
400+
401+
# - name: Install dependencies (npm ci)
402+
# run: npm ci --prefer-offline
403+
404+
# - name: pip install system test requirements
405+
# run: |
406+
# python -m pip install --upgrade -r build/test-requirements.txt
407+
# python -m pip --disable-pip-version-check install -t ./pythonFiles/lib/python --no-cache-dir --implementation py --no-deps --upgrade -r requirements.txt
408+
# python -m pip --disable-pip-version-check install -t ./pythonFiles/lib/python --no-cache-dir --implementation py --no-deps --upgrade --pre debugpy
409+
# shell: bash
410+
411+
# - name: pip install smoke test requirements
412+
# run: |
413+
# python -m pip install --upgrade -r build/smoke-test-requirements.txt
414+
# shell: bash
415+
416+
# # Compile the test files.
417+
# - name: Prepare for insiders tests
418+
# run: npm run prePublish
419+
# shell: bash
420+
421+
# - name: Set CI_PYTHON_PATH and CI_DISABLE_AUTO_SELECTION
422+
# run: |
423+
# echo "CI_PYTHON_PATH=python" >> $GITHUB_ENV
424+
# echo "CI_DISABLE_AUTO_SELECTION=1" >> $GITHUB_ENV
425+
# shell: bash
426+
427+
# - name: Run insider tests
428+
# env:
429+
# DISPLAY: 10
430+
# INSTALL_JUPYTER_EXTENSION: true
431+
# INSTALL_PYLANCE_EXTENSION: true
432+
# VSC_PYTHON_CI_TEST_VSC_CHANNEL: insiders
433+
# TEST_FILES_SUFFIX: insiders.test
434+
# CODE_TESTS_WORKSPACE: ./src/testMultiRootWkspc/smokeTests
435+
# uses: GabrielBB/xvfb-action@v1.5
436+
# with:
437+
# run: node --no-force-async-hooks-checks ./out/test/standardTest.js
438438

439439
### Coverage run
440440
coverage:

0 commit comments

Comments
 (0)