mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
enable browser and remote integration tests (#137254)
This commit is contained in:
parent
8a7324fd2e
commit
6a25ae3a24
33
.github/workflows/ci.yml
vendored
33
.github/workflows/ci.yml
vendored
|
@ -75,9 +75,20 @@ jobs:
|
||||||
- name: Run Unit Tests (Browser)
|
- name: Run Unit Tests (Browser)
|
||||||
run: yarn test-browser --browser chromium
|
run: yarn test-browser --browser chromium
|
||||||
|
|
||||||
|
- name: Compile Integration Tests
|
||||||
|
run: yarn --cwd test/integration/browser compile
|
||||||
|
|
||||||
- name: Run Integration Tests (Electron)
|
- name: Run Integration Tests (Electron)
|
||||||
run: .\scripts\test-integration.bat
|
run: .\scripts\test-integration.bat
|
||||||
|
|
||||||
|
- name: Run Integration Tests (Browser)
|
||||||
|
timeout-minutes: 10
|
||||||
|
run: .\resources\server\test\test-web-integration.bat --browser firefox
|
||||||
|
|
||||||
|
- name: Run Remote Integration Tests (Electron)
|
||||||
|
timeout-minutes: 10
|
||||||
|
run: .\resources\server\test\test-remote-integration.bat
|
||||||
|
|
||||||
linux:
|
linux:
|
||||||
name: Linux
|
name: Linux
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -140,10 +151,22 @@ jobs:
|
||||||
id: browser-unit-tests
|
id: browser-unit-tests
|
||||||
run: DISPLAY=:10 yarn test-browser --browser chromium
|
run: DISPLAY=:10 yarn test-browser --browser chromium
|
||||||
|
|
||||||
|
- name: Compile Integration Tests
|
||||||
|
run: yarn --cwd test/integration/browser compile
|
||||||
|
|
||||||
- name: Run Integration Tests (Electron)
|
- name: Run Integration Tests (Electron)
|
||||||
id: electron-integration-tests
|
id: electron-integration-tests
|
||||||
run: DISPLAY=:10 ./scripts/test-integration.sh
|
run: DISPLAY=:10 ./scripts/test-integration.sh
|
||||||
|
|
||||||
|
- name: Run Integration Tests (Browser)
|
||||||
|
id: browser-integration-tests
|
||||||
|
run: DISPLAY=:10 ./resources/server/test/test-web-integration.sh --browser chromium
|
||||||
|
|
||||||
|
- name: Run Remote Integration Tests (Electron)
|
||||||
|
id: electron-remote-integration-tests
|
||||||
|
timeout-minutes: 7
|
||||||
|
run: DISPLAY=:10 ./resources/server/test/test-remote-integration.sh
|
||||||
|
|
||||||
darwin:
|
darwin:
|
||||||
name: macOS
|
name: macOS
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
|
@ -202,9 +225,19 @@ jobs:
|
||||||
- name: Run Unit Tests (Browser)
|
- name: Run Unit Tests (Browser)
|
||||||
run: DISPLAY=:10 yarn test-browser --browser chromium
|
run: DISPLAY=:10 yarn test-browser --browser chromium
|
||||||
|
|
||||||
|
- name: Compile Integration Tests
|
||||||
|
run: yarn --cwd test/integration/browser compile
|
||||||
|
|
||||||
- name: Run Integration Tests (Electron)
|
- name: Run Integration Tests (Electron)
|
||||||
run: DISPLAY=:10 ./scripts/test-integration.sh
|
run: DISPLAY=:10 ./scripts/test-integration.sh
|
||||||
|
|
||||||
|
- name: Run Integration Tests (Browser)
|
||||||
|
run: DISPLAY=:10 ./resources/server/test/test-web-integration.sh --browser webkit
|
||||||
|
|
||||||
|
- name: Run Remote Integration Tests (Electron)
|
||||||
|
timeout-minutes: 7
|
||||||
|
run: DISPLAY=:10 ./resources/server/test/test-remote-integration.sh
|
||||||
|
|
||||||
hygiene:
|
hygiene:
|
||||||
name: Hygiene, Layering and Monaco Editor
|
name: Hygiene, Layering and Monaco Editor
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
Loading…
Reference in a new issue