mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-01-04 06:23:06 +00:00
fix: ci integration tests (#1335)
This commit is contained in:
parent
af55a761e6
commit
072bff5cab
@ -12,11 +12,6 @@ when includes != "":
|
|||||||
importAll(includes.split(","))
|
importAll(includes.split(","))
|
||||||
else:
|
else:
|
||||||
# import all tests in the integration/ directory
|
# import all tests in the integration/ directory
|
||||||
importTests(
|
importTests(currentSourcePath().parentDir() / "integration")
|
||||||
currentSourcePath().parentDir() / "integration" / "1_minute", "testpurchasing"
|
|
||||||
)
|
|
||||||
importTests(
|
|
||||||
currentSourcePath().parentDir() / "integration" / "5_minutes", "testsales"
|
|
||||||
)
|
|
||||||
|
|
||||||
{.warning[UnusedImport]: off.}
|
{.warning[UnusedImport]: off.}
|
||||||
|
|||||||
@ -82,7 +82,7 @@ find_tests () {
|
|||||||
batch () {
|
batch () {
|
||||||
local batch_size=$1
|
local batch_size=$1
|
||||||
local separator=$2
|
local separator=$2
|
||||||
xargs -n $batch_size bash -c "IFS=\"$separator\"; echo \"\$*\"" _
|
xargs -n "$batch_size" | sed 's/ /'"$separator"'/g'
|
||||||
}
|
}
|
||||||
|
|
||||||
# outputs a single integration test job
|
# outputs a single integration test job
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user