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
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