提交 f9383959 编写于 作者: B Benjamin Pasero

build - linux cannot run playwright in docker containers, so disable it

上级 f88d71ee
......@@ -104,12 +104,16 @@ steps:
displayName: Run unit tests (Electron)
condition: and(succeeded(), eq(variables['VSCODE_STEP_ON_IT'], 'false'))
- script: |
set -e
DISPLAY=:10 yarn test-browser --build --browser chromium
continueOnError: true
displayName: Run unit tests (Browser)
condition: and(succeeded(), eq(variables['VSCODE_STEP_ON_IT'], 'false'))
# Playwright currently does not run on the Linux docker container we use
# given our dependencies. Someone with some energy should follow up and
# find out what is still missing to get Chrome started in the container.
# Refs: https://github.com/microsoft/vscode-linux-build-agent/blob/master/x64/Dockerfile
#
# - script: |
# set -e
# DISPLAY=:10 yarn test-browser --build --browser chromium
# displayName: Run unit tests (Browser)
# condition: and(succeeded(), eq(variables['VSCODE_STEP_ON_IT'], 'false'))
- script: |
# Figure out the full absolute path of the product we just built
......@@ -124,13 +128,17 @@ steps:
displayName: Run integration tests (Electron)
condition: and(succeeded(), eq(variables['VSCODE_STEP_ON_IT'], 'false'))
- script: |
set -e
VSCODE_REMOTE_SERVER_PATH="$(agent.builddirectory)/vscode-reh-web-linux-x64" \
DISPLAY=:10 ./resources/server/test/test-web-integration.sh --browser chromium
continueOnError: true
displayName: Run integration tests (Browser)
condition: and(succeeded(), eq(variables['VSCODE_STEP_ON_IT'], 'false'))
# Playwright currently does not run on the Linux docker container we use
# given our dependencies. Someone with some energy should follow up and
# find out what is still missing to get Chrome started in the container.
# Refs: https://github.com/microsoft/vscode-linux-build-agent/blob/master/x64/Dockerfile
# - script: |
# set -e
# VSCODE_REMOTE_SERVER_PATH="$(agent.builddirectory)/vscode-reh-web-linux-x64" \
# DISPLAY=:10 ./resources/server/test/test-web-integration.sh --browser chromium
# continueOnError: true
# displayName: Run integration tests (Browser)
# condition: and(succeeded(), eq(variables['VSCODE_STEP_ON_IT'], 'false'))
- script: |
set -e
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册