mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
keytar ci build fix (#16555)
This commit is contained in:
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@@ -204,6 +204,14 @@ jobs:
|
|||||||
- name: Compile and Download
|
- name: Compile and Download
|
||||||
run: yarn npm-run-all --max_old_space_size=4095 -lp compile "electron x64" playwright-install download-builtin-extensions
|
run: yarn npm-run-all --max_old_space_size=4095 -lp compile "electron x64" playwright-install download-builtin-extensions
|
||||||
|
|
||||||
|
# This is required for keytar unittests, otherwise we hit
|
||||||
|
# https://github.com/atom/node-keytar/issues/76
|
||||||
|
- name: Create temporary keychain
|
||||||
|
run: |
|
||||||
|
security create-keychain -p pwd $RUNNER_TEMP/buildagent.keychain
|
||||||
|
security default-keychain -s $RUNNER_TEMP/buildagent.keychain
|
||||||
|
security unlock-keychain -p pwd $RUNNER_TEMP/buildagent.keychain
|
||||||
|
|
||||||
- name: Run Unit Tests (Electron)
|
- name: Run Unit Tests (Electron)
|
||||||
run: DISPLAY=:10 ./scripts/test.sh
|
run: DISPLAY=:10 ./scripts/test.sh
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user