ci: fix flaky tests (#2033)
* ci: fix flaky tests * chore: remove useless deps * chore: decresse worker_threads counts
This commit is contained in:
parent
e86e3add2b
commit
67f03a7fd4
4 changed files with 27 additions and 1073 deletions
3
.github/workflows/test-release.yaml
vendored
3
.github/workflows/test-release.yaml
vendored
|
@ -439,9 +439,6 @@ jobs:
|
||||||
image: ${{ steps.image-name.outputs.docker-image }}
|
image: ${{ steps.image-name.outputs.docker-image }}
|
||||||
options: ${{ matrix.settings.args }} -v ${{ github.workspace }}/cores:/cores -v ${{ github.workspace }}:/build -w /build
|
options: ${{ matrix.settings.args }} -v ${{ github.workspace }}/cores:/cores -v ${{ github.workspace }}:/build -w /build
|
||||||
run: >-
|
run: >-
|
||||||
ulimit -c &&
|
|
||||||
ulimit -c unlimited &&
|
|
||||||
ulimit -c &&
|
|
||||||
${{ matrix.settings.without-lerna && 'yarn test:without-lerna' || 'yarn test' }}
|
${{ matrix.settings.without-lerna && 'yarn test:without-lerna' || 'yarn test' }}
|
||||||
- name: List files
|
- name: List files
|
||||||
run: |
|
run: |
|
||||||
|
|
|
@ -21,7 +21,7 @@ const concurrency = process.env.WASI_TEST
|
||||||
// @ts-expect-error
|
// @ts-expect-error
|
||||||
process?.report?.getReport()?.header?.glibcVersionRuntime)
|
process?.report?.getReport()?.header?.glibcVersionRuntime)
|
||||||
? 50
|
? 50
|
||||||
: 10
|
: 3
|
||||||
|
|
||||||
t('should be able to require in worker thread', async (t) => {
|
t('should be able to require in worker thread', async (t) => {
|
||||||
await Promise.all(
|
await Promise.all(
|
||||||
|
|
|
@ -77,9 +77,6 @@
|
||||||
"cross-env": "^7.0.3",
|
"cross-env": "^7.0.3",
|
||||||
"electron": "^29.0.1",
|
"electron": "^29.0.1",
|
||||||
"esbuild": "^0.20.0",
|
"esbuild": "^0.20.0",
|
||||||
"eslint": "^8.56.0",
|
|
||||||
"eslint-config-prettier": "^9.1.0",
|
|
||||||
"eslint-plugin-import": "^2.29.1",
|
|
||||||
"husky": "^9.0.7",
|
"husky": "^9.0.7",
|
||||||
"lerna": "^8.0.2",
|
"lerna": "^8.0.2",
|
||||||
"lint-staged": "^15.2.1",
|
"lint-staged": "^15.2.1",
|
||||||
|
|
Loading…
Reference in a new issue