Skip to content

Commit 3eb1b8c

Browse files
committed
Test CLI
1 parent 53c130a commit 3eb1b8c

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.buildkite/test_python_packages.sh

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,18 @@ python -m pip install --upgrade build twine
1212
python -m build
1313
ls -lah dist/
1414
python -m twine check dist/*
15+
16+
# If this is the connectors_service package, test the installation and CLI
17+
if [[ "$PACKAGE_PATH" == *app/connectors_service* ]]; then
18+
echo "Testing connectors_service package installation..."
19+
20+
LIB_PATH="libs/connectors_sdk"
21+
python -m build "$LIB_PATH"
22+
python -m pip install "$LIB_PATH"/dist/*.whl
23+
24+
python -m pip install dist/*.whl
25+
connectors --help
26+
elastic-ingets --help
27+
elastic-agent-connectors --help
28+
test-connectors --help
29+
fi

0 commit comments

Comments
 (0)