Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 688508d

Browse files
authored
Merge pull request #1099 from github/henrymercer/run-unit-tests-on-windows
Run unit tests on Windows too
2 parents ea8fb21 + fc92642 commit 688508d

22 files changed

+160
-96
lines changed

.github/workflows/pr-checks.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,14 +90,18 @@ jobs:
9090
needs: [check-js, check-node-modules]
9191
strategy:
9292
matrix:
93-
os: [ubuntu-latest, macos-latest]
93+
os: [ubuntu-latest, macos-latest, windows-latest]
9494
runs-on: ${{ matrix.os }}
9595
timeout-minutes: 45
9696

9797
steps:
9898
- uses: actions/checkout@v3
99-
- name: npm run-script test
100-
run: npm run-script test
99+
- name: npm test
100+
run: |
101+
# Run any commands referenced in package.json using Bash, otherwise
102+
# we won't be able to find them on Windows.
103+
npm config set script-shell bash
104+
npm test
101105
102106
runner-analyze-javascript-ubuntu:
103107
name: Runner ubuntu JS analyze

lib/analysis-paths.js

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/analysis-paths.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/config-utils.js

Lines changed: 7 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/config-utils.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/config-utils.test.js

Lines changed: 20 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/config-utils.test.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/fingerprints.js

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)