Do not rerun python and node tests, exit on failure

This commit is contained in:
link2xt
2022-06-18 01:38:31 +00:00
parent 10f3ad6122
commit bc604d4c24
2 changed files with 3 additions and 4 deletions

View File

@@ -58,8 +58,8 @@
"prebuildify": "cd node && prebuildify -t 16.13.0 --napi --strip --postinstall \"node scripts/postinstall.js --prebuild\"", "prebuildify": "cd node && prebuildify -t 16.13.0 --napi --strip --postinstall \"node scripts/postinstall.js --prebuild\"",
"test": "npm run test:lint && npm run test:mocha", "test": "npm run test:lint && npm run test:mocha",
"test:lint": "npm run lint", "test:lint": "npm run lint",
"test:mocha": "mocha -r esm node/test/test.js --growl --reporter=spec" "test:mocha": "mocha -r esm node/test/test.js --growl --reporter=spec --bail"
}, },
"types": "node/dist/index.d.ts", "types": "node/dist/index.d.ts",
"version": "1.86.0" "version": "1.86.0"
} }

View File

@@ -8,7 +8,7 @@ envlist =
[testenv] [testenv]
commands = commands =
pytest -n6 --extra-info --reruns 2 --reruns-delay 5 -v -rsXx --ignored --strict-tls {posargs: tests examples} pytest -n6 --extra-info --exitfirst -v -rsXx --ignored --strict-tls {posargs: tests examples}
python tests/package_wheels.py {toxworkdir}/wheelhouse python tests/package_wheels.py {toxworkdir}/wheelhouse
passenv = passenv =
TRAVIS TRAVIS
@@ -19,7 +19,6 @@ passenv =
RUSTC_WRAPPER RUSTC_WRAPPER
deps = deps =
pytest pytest
pytest-rerunfailures
pytest-timeout pytest-timeout
pytest-xdist pytest-xdist
pdbpp pdbpp