Skip to content

Commit

Permalink
Remove test job from windows runner (#10345)
Browse files Browse the repository at this point in the history
* Remove test stop from windows runner

* consistent formatting
  • Loading branch information
LeeLenaleee committed May 8, 2022
1 parent d573dfb commit 8ac3cc2
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/ci.yml
Expand Up @@ -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
Expand Down

0 comments on commit 8ac3cc2

Please sign in to comment.