]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Remove test job from windows runner (#10345)
authorJacco van den Berg <39033624+LeeLenaleee@users.noreply.github.com>
Sun, 8 May 2022 17:19:41 +0000 (19:19 +0200)
committerGitHub <noreply@github.com>
Sun, 8 May 2022 17:19:41 +0000 (20:19 +0300)
* Remove test stop from windows runner

* consistent formatting

.github/workflows/ci.yml

index 47142291c04106c16d90efa793601ee0161235fc..f9ad37173057d231f2dcf808a43f7a998c203281 100644 (file)
@@ -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