forked from jina-ai/serve
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: update test path findings (jina-ai#4870)
* ci: update test path findings * ci: update test path findings
- Loading branch information
Showing
9 changed files
with
46 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,7 @@ ARG PIP_INSTALL_PERF | |
LABEL org.opencontainers.image.vendor="Jina AI Limited" \ | ||
org.opencontainers.image.licenses="Apache 2.0" \ | ||
org.opencontainers.image.title="Jina" \ | ||
org.opencontainers.image.description="Cloud-native neural search framework for any kind of data" \ | ||
org.opencontainers.image.description="The Framework for Building Cross-Modal and Multi-Modal Applications on the Cloud" \ | ||
org.opencontainers.image.authors="[email protected]" \ | ||
org.opencontainers.image.url="https://github.com/jina-ai/jina" \ | ||
org.opencontainers.image.documentation="https://docs.jina.ai" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,17 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -ex | ||
if [[ $1 == "windows" ]]; then | ||
declare -a array2=( $(ls -d tests/{unit}/*/ | grep -v '__pycache__'| grep -v 'unit/serve' | grep -v 'unit/orchestrate')) | ||
declare -a array3=( $(ls -d tests/{unit}/orchestrate/*/ | grep -v '__pycache__')) | ||
declare -a array4=( $(ls -d tests/{unit}/serve/*/ | grep -v '__pycache__')) | ||
dest1=( "${array2[@]}" "${array3[@]}" "${array4[@]}" ) | ||
printf '%s\n' "${dest1[@]}" | jq -R . | jq -cs . | ||
else | ||
declare -a array1=( "tests/unit/*.py" "tests/integration/*.py") | ||
declare -a array2=( $(ls -d tests/{unit,integration}/*/ | grep -v '__pycache__' | grep -v 'unit/serve' | grep -v 'unit/orchestrate')) | ||
declare -a array3=( $(ls -d tests/unit/orchestrate/*/ | grep -v '__pycache__')) | ||
declare -a array4=( $(ls -d tests/unit/serve/*/ | grep -v '__pycache__')) | ||
dest=( "${array1[@]}" "${array2[@]}" "${array3[@]}" "${array4[@]}" ) | ||
|
||
BATCH_SIZE=5 | ||
#declare -a array1=( "tests/unit/test_*.py" ) | ||
#declare -a array2=( $(ls -d tests/unit/*/ | grep -v '__pycache__' | grep -v 'array') ) | ||
#declare -a array3=( "tests/unit/array/*.py" ) | ||
declare -a mixins=( $(find tests -name "test_*.py") ) | ||
declare -a array4=( "$(echo "${mixins[@]}" | xargs -n$BATCH_SIZE)" ) | ||
# array5 is currently empty because in the array/ directory, mixins is the only directory | ||
# but add the following in case new directories are created in array/ | ||
dest=( "${array1[@]}" "${array2[@]}" "${array3[@]}" "${array4[@]}" "${array5[@]}" ) | ||
|
||
printf '%s\n' "${dest[@]}" | jq -R . | jq -cs . | ||
printf '%s\n' "${dest[@]}" | jq -R . | jq -cs . | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -145,7 +145,7 @@ def get_extra_requires(path, add_all=True): | |
packages=find_packages(), | ||
version=__version__, | ||
include_package_data=True, | ||
description='Jina is the cloud-native neural search framework for any kind of data', | ||
description='The Framework for Building Cross-Modal and Multi-Modal Applications on the Cloud', | ||
author='Jina AI', | ||
author_email='[email protected]', | ||
license='Apache 2.0', | ||
|
@@ -195,6 +195,6 @@ def get_extra_requires(path, add_all=True): | |
'Source': 'https://github.com/jina-ai/jina/', | ||
'Tracker': 'https://github.com/jina-ai/jina/issues', | ||
}, | ||
keywords='jina cloud-native neural-search query search index elastic neural-network encoding ' | ||
'embedding serving docker container image video audio deep-learning', | ||
keywords='jina cloud-native cross-modal multi-modal neural-search query search index elastic neural-network encoding ' | ||
'embedding serving docker container image video audio deep-learning ', | ||
) |