diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a8bf3bd8bf..c74e2dce38 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -204,6 +204,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