tests: run bats tests in parallel

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
Andrea Luzzardi 2021-04-21 17:50:56 -07:00
parent c8dbbaa1c6
commit 1f9e8fb34f
2 changed files with 4 additions and 4 deletions

View File

@ -1,10 +1,10 @@
{ {
"license": "Apache-2.0", "license": "Apache-2.0",
"scripts": { "scripts": {
"test": "bats --report-formatter junit ." "test": "bats --report-formatter junit --jobs 4 ."
}, },
"devDependencies": { "devDependencies": {
"bats": "https://github.com/bats-core/bats-core.git", "bats": "https://github.com/bats-core/bats-core#master",
"bats-assert": "https://github.com/bats-core/bats-assert", "bats-assert": "https://github.com/bats-core/bats-assert",
"bats-support": "https://github.com/bats-core/bats-support" "bats-support": "https://github.com/bats-core/bats-support"
} }

View File

@ -10,6 +10,6 @@
version "0.3.0" version "0.3.0"
resolved "https://github.com/bats-core/bats-support#d140a65044b2d6810381935ae7f0c94c7023c8c3" resolved "https://github.com/bats-core/bats-support#d140a65044b2d6810381935ae7f0c94c7023c8c3"
"bats@https://github.com/bats-core/bats-core.git": "bats@https://github.com/bats-core/bats-core#master":
version "1.3.0" version "1.3.0"
resolved "https://github.com/bats-core/bats-core.git#b81de286448ae3a11e3342783dcdc1b08765a421" resolved "https://github.com/bats-core/bats-core#fba8ff68d739bf5049fbd77c25d3331c788145a5"