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

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

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