Skip to content

Commit

Permalink
Revert "ci(test): use --runInBand"
Browse files Browse the repository at this point in the history
This reverts commit d8cb4b8.
  • Loading branch information
chemzqm committed Jan 15, 2022
1 parent d8cb4b8 commit 608f2a7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
tar xzf nvim-macos.tar.gz
export PATH="${PATH}:node_modules/.bin:$(pwd)/nvim-osx64/bin"
nvim --version
yarn test-build
yarn test-build --maxWorkers=4
- if: matrix.os == 'ubuntu-latest'
name: yarn test on Ubuntu
run: |
Expand All @@ -64,7 +64,7 @@ jobs:
tar xzf nvim-linux64.tar.gz
export PATH="${PATH}:node_modules/.bin:$(pwd)/nvim-linux64/bin"
nvim --version
yarn test-build
yarn test-build --maxWorkers=2
- name: Codecov
uses: codecov/codecov-action@v2.0.2
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"lint:typecheck": "tsc -p tsconfig.json",
"build": "node esbuild.js",
"test": "./node_modules/.bin/jest --forceExit",
"test-build": "./node_modules/.bin/jest --runInBand --coverage --forceExit",
"test-build": "./node_modules/.bin/jest --coverage --forceExit",
"prepare": "node esbuild.js"
},
"repository": {
Expand Down
1 change: 1 addition & 0 deletions src/__tests__/helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ export class Helper extends EventEmitter {
this.nvim.removeAllListeners()
this.nvim = null
if (this.proc) {
this.proc.unref()
terminate(this.proc)
this.proc = null
}
Expand Down

0 comments on commit 608f2a7

Please sign in to comment.