From bbf1a3cf75712bc62da77718dac4c7f4615fbee0 Mon Sep 17 00:00:00 2001 From: Bukowa Date: Sat, 29 Jun 2024 01:05:30 +0200 Subject: [PATCH] wip windows --- .github/workflows/tests-e2e-js.yaml | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests-e2e-js.yaml b/.github/workflows/tests-e2e-js.yaml index 6299c05..3173d50 100644 --- a/.github/workflows/tests-e2e-js.yaml +++ b/.github/workflows/tests-e2e-js.yaml @@ -9,12 +9,26 @@ on: pull_request: branches: - master + - windows1 workflow_call: workflow_dispatch: jobs: test: + strategy: + fail-fast: false + matrix: + include: +# - platform: 'macos-latest' # for Arm based macs (M1 and above). +# args: '--target aarch64-apple-darwin' +# - platform: 'macos-latest' # for Intel based macs. +# args: '--target x86_64-apple-darwin' + - platform: 'ubuntu-latest' + args: '' + - platform: 'windows-latest' + args: '' + timeout-minutes: 5 runs-on: ubuntu-latest name: "Run UI E2E tests" @@ -52,8 +66,14 @@ jobs: .build - name: Install Prerequisites + if: matrix.platform == 'ubuntu-latest' run: | . <(just prerequisites) - - name: Run UI E2E tests + - name: Run UI E2E tests Linux + if: matrix.platform == 'ubuntu-latest' run: xvfb-run -a just test-e2e + + - name: Run UI E2E tests Windows + if: matrix.platform == 'windows-latest' + run: just test-e2e