ci: fix keychain (#130068)
* ci: list keychains * ci: reset login keychain * ci: create default keychain * chore: cleanup * chore: add explainer
This commit is contained in:
parent
37a8fe959c
commit
eede0a5b71
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
|
@ -188,6 +188,14 @@ jobs:
|
|||
- name: Compile and Download
|
||||
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)
|
||||
run: DISPLAY=:10 ./scripts/test.sh
|
||||
|
||||
|
|
Loading…
Reference in a new issue