mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-12 15:25:57 +00:00
adapt e2e test paths in parallel execution script
This commit is contained in:
parent
fec656b032
commit
d8e72f42bc
@ -8,10 +8,10 @@ CUR_JOB=$(expr $1 - 1)
|
||||
MAX_JOBS=$2
|
||||
|
||||
# Features
|
||||
FEATURE_LIST=( $(find cypress/integration/ -maxdepth 1 -name "*.feature") )
|
||||
FEATURE_LIST=( $(find cypress/e2e/ -maxdepth 1 -name "*.feature") )
|
||||
|
||||
# Calculation
|
||||
MAX_FEATURES=$(find cypress/integration/ -maxdepth 1 -name "*.feature" -print | wc -l)
|
||||
MAX_FEATURES=$(find cypress/e2e/ -maxdepth 1 -name "*.feature" -print | wc -l)
|
||||
# adds overhead features to the first jobs
|
||||
if [[ $CUR_JOB -lt $(expr ${MAX_FEATURES} % ${MAX_JOBS}) ]]
|
||||
then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user