From a0137e4cd4cacdd3f8e9189dd4b80a468baf8c41 Mon Sep 17 00:00:00 2001 From: Amin Yahyaabadi Date: Tue, 5 Nov 2024 00:29:29 -0800 Subject: [PATCH] ci: run electron tests on Windows https://github.com/zeromq/zeromq.js/issues/672 --- .github/workflows/CI.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 34b18a3b..05144426 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -190,7 +190,18 @@ jobs: pnpm run test.unit.compat continue-on-error: true - - name: Test Electron (Main) + - name: Test Electron Windows/MacOS + if: "${{ !matrix.docker }}" + uses: nick-fields/retry@v3 + with: + timeout_minutes: 5 + max_attempts: 1 + command: | + pnpm install -g electron@latest + pnpm run test.electron.main + continue-on-error: true + + - name: Test Electron Linux if: "${{ contains(matrix.os, 'ubuntu') && !matrix.docker }}" uses: nick-fields/retry@v3 with: