Skip to content

Commit

Permalink
Merge pull request #359 from spotify/rugvip/windows
Browse files Browse the repository at this point in the history
github/workflows/cli: run on windows as well
  • Loading branch information
Rugvip authored Mar 23, 2020
2 parents fd40fbd + 4f959b9 commit 8b76868
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

strategy:
matrix:
os: [ubuntu-latest]
os: [ubuntu-latest, windows-latest]
node-version: [12.x]

name: Node ${{ matrix.node-version }} on ${{ matrix.os }}
Expand All @@ -33,12 +33,13 @@ jobs:
- run: yarn install
- run: yarn build
# This creates a new plugin and pollutes the workspace, so it should be run last.
- name: verify app serve and plugin creation
shell: bash
- name: verify app serve and plugin creation on Windows
if: runner.os == 'Windows'
run: node scripts/cli-e2e-test.js
- name: verify app serve and plugin creation on Linux
if: runner.os == 'Linux'
run: |
if [ "$RUNNER_OS" == "Linux" ]; then
sudo sysctl fs.inotify.max_user_watches=524288
fi
sudo sysctl fs.inotify.max_user_watches=524288
node scripts/cli-e2e-test.js
- name: yarn lint, test after plugin creation
working-directory: plugins/test-plugin
Expand Down

0 comments on commit 8b76868

Please sign in to comment.