tests - try to fix macOS GH CI

This commit is contained in:
Benjamin Pasero 2022-01-16 15:14:33 +01:00
parent f43e197edd
commit db8eff1085
No known key found for this signature in database
GPG key ID: E6380CC4C8219E65
2 changed files with 10 additions and 9 deletions

View file

@ -69,6 +69,9 @@ jobs:
- name: Compile and Download
run: yarn npm-run-all --max_old_space_size=4095 -lp compile "electron x64" playwright-install download-builtin-extensions
- name: Compile Integration Tests
run: yarn compile-integration-tests
- name: Run Unit Tests (Electron)
run: .\scripts\test.bat
@ -78,9 +81,6 @@ jobs:
- name: Run Unit Tests (Browser, Chromium)
run: yarn test-browser --browser chromium
- name: Compile Integration Tests
run: yarn --cwd test/integration/browser compile
- name: Run Integration Tests (Electron)
run: .\scripts\test-integration.bat
@ -146,6 +146,9 @@ jobs:
- name: Compile and Download
run: yarn npm-run-all --max_old_space_size=4095 -lp compile "electron x64" playwright-install download-builtin-extensions
- name: Compile Integration Tests
run: yarn compile-integration-tests
- name: Run Unit Tests (Electron)
id: electron-unit-tests
run: DISPLAY=:10 ./scripts/test.sh
@ -158,9 +161,6 @@ jobs:
id: browser-unit-tests
run: DISPLAY=:10 yarn test-browser --browser chromium
- name: Compile Integration Tests
run: yarn --cwd test/integration/browser compile
- name: Run Integration Tests (Electron)
id: electron-integration-tests
run: DISPLAY=:10 ./scripts/test-integration.sh
@ -218,6 +218,9 @@ jobs:
- name: Compile and Download
run: yarn npm-run-all --max_old_space_size=4095 -lp compile "electron x64" playwright-install download-builtin-extensions
- name: Compile Integration Tests
run: yarn compile-integration-tests
# This is required for keytar unittests, otherwise we hit
# https://github.com/atom/node-keytar/issues/76
- name: Create temporary keychain
@ -235,9 +238,6 @@ jobs:
- name: Run Unit Tests (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)
run: DISPLAY=:10 ./scripts/test-integration.sh

View file

@ -50,6 +50,7 @@
"playwright-install": "node build/azure-pipelines/common/installPlaywright.js",
"compile-build": "node --max_old_space_size=4095 ./node_modules/gulp/bin/gulp.js compile-build",
"compile-extensions-build": "node --max_old_space_size=4095 ./node_modules/gulp/bin/gulp.js compile-extensions-build",
"compile-integration-tests": "tsc -p test/integration/browser",
"minify-vscode": "node --max_old_space_size=4095 ./node_modules/gulp/bin/gulp.js minify-vscode",
"minify-vscode-reh": "node --max_old_space_size=4095 ./node_modules/gulp/bin/gulp.js minify-vscode-reh",
"minify-vscode-reh-web": "node --max_old_space_size=4095 ./node_modules/gulp/bin/gulp.js minify-vscode-reh-web",