From 8ac3cc2191ccf826e66ec8aaed7fd17fd0dfc370 Mon Sep 17 00:00:00 2001 From: Jacco van den Berg <39033624+LeeLenaleee@users.noreply.github.com> Date: Sun, 8 May 2022 19:19:41 +0200 Subject: [PATCH] Remove test job from windows runner (#10345) * Remove test stop from windows runner * consistent formatting --- .github/workflows/ci.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 47142291c04..f9ad3717305 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -54,13 +54,12 @@ jobs: run: npm run build - name: Test if: | - steps.changes.outputs.src == 'true' || - steps.changes.outputs.test == 'true' + (steps.changes.outputs.src == 'true' || + steps.changes.outputs.test == 'true') && + runner.os != 'Windows' run: | npm run build - if [ "${{ runner.os }}" == "Windows" ]; then - npm test - elif [ "${{ runner.os }}" == "macOS" ]; then + if [ "${{ runner.os }}" == "macOS" ]; then npm test --browsers chrome,safari else xvfb-run --auto-servernum npm test