Fix cross-language compatibility and integration tests to handle missing directories
Some checks failed
package-tests / test-python-packages (map[name:aitbc-agent-sdk path:packages/py/aitbc-agent-sdk python_version:3.13]) (push) Failing after 6s
package-tests / test-python-packages (map[name:aitbc-core path:packages/py/aitbc-core python_version:3.13]) (push) Successful in 10s
package-tests / test-python-packages (map[name:aitbc-cli path:. python_version:3.13]) (push) Successful in 18s
package-tests / test-python-packages (map[name:aitbc-sdk path:packages/py/aitbc-sdk python_version:3.13]) (push) Successful in 10s
package-tests / test-python-packages (map[name:aitbc-crypto path:packages/py/aitbc-crypto python_version:3.13]) (push) Successful in 20s
package-tests / test-javascript-packages (map[name:aitbc-sdk node_version:24 path:packages/js/aitbc-sdk]) (push) Successful in 12s
package-tests / cross-language-compatibility (push) Has been skipped
package-tests / package-integration-tests (push) Has been skipped
security-scanning / audit (push) Successful in 9s
Some checks failed
package-tests / test-python-packages (map[name:aitbc-agent-sdk path:packages/py/aitbc-agent-sdk python_version:3.13]) (push) Failing after 6s
package-tests / test-python-packages (map[name:aitbc-core path:packages/py/aitbc-core python_version:3.13]) (push) Successful in 10s
package-tests / test-python-packages (map[name:aitbc-cli path:. python_version:3.13]) (push) Successful in 18s
package-tests / test-python-packages (map[name:aitbc-sdk path:packages/py/aitbc-sdk python_version:3.13]) (push) Successful in 10s
package-tests / test-python-packages (map[name:aitbc-crypto path:packages/py/aitbc-crypto python_version:3.13]) (push) Successful in 20s
package-tests / test-javascript-packages (map[name:aitbc-sdk node_version:24 path:packages/js/aitbc-sdk]) (push) Successful in 12s
package-tests / cross-language-compatibility (push) Has been skipped
package-tests / package-integration-tests (push) Has been skipped
security-scanning / audit (push) Successful in 9s
This commit is contained in:
@@ -862,11 +862,19 @@ jobs:
|
||||
|
||||
# Check Python packages
|
||||
echo "Python package versions:"
|
||||
find packages/py -name "pyproject.toml" -exec echo "File: {}" \; -exec grep -E "version|name" {} \;
|
||||
if [[ -d "packages/py" ]]; then
|
||||
find packages/py -name "pyproject.toml" -exec echo "File: {}" \; -exec grep -E "version|name" {} \; 2>/dev/null || echo "⚠️ No Python packages found"
|
||||
else
|
||||
echo "⚠️ packages/py directory not found"
|
||||
fi
|
||||
|
||||
# Check JavaScript packages
|
||||
echo "JavaScript package versions:"
|
||||
find packages/js -name "package.json" -exec echo "File: {}" \; -exec grep -E "version|name" {} \;
|
||||
if [[ -d "packages/js" ]]; then
|
||||
find packages/js -name "package.json" -exec echo "File: {}" \; -exec grep -E "version|name" {} \; 2>/dev/null || echo "⚠️ No JavaScript packages found"
|
||||
else
|
||||
echo "⚠️ packages/js directory not found"
|
||||
fi
|
||||
|
||||
# Validate version consistency
|
||||
echo "✅ Cross-language compatibility check completed"
|
||||
@@ -898,11 +906,15 @@ jobs:
|
||||
|
||||
# Check README files
|
||||
echo "Checking documentation consistency..."
|
||||
find packages/ -name "README.md" | while read readme; do
|
||||
echo "Found documentation: $readme"
|
||||
head -5 "$readme"
|
||||
echo "---"
|
||||
done
|
||||
if [[ -d "packages" ]]; then
|
||||
find packages/ -name "README.md" 2>/dev/null | while read readme; do
|
||||
echo "Found documentation: $readme"
|
||||
head -5 "$readme"
|
||||
echo "---"
|
||||
done || echo "⚠️ No README files found"
|
||||
else
|
||||
echo "⚠️ packages directory not found"
|
||||
fi
|
||||
|
||||
echo "✅ Documentation consistency check completed"
|
||||
|
||||
@@ -961,9 +973,17 @@ jobs:
|
||||
echo "Checking for circular dependencies..."
|
||||
|
||||
# Python dependencies
|
||||
find packages/py -name "pyproject.toml" -exec echo "Dependencies in {}" \; -exec grep -A 10 "dependencies" {} \;
|
||||
if [[ -d "packages/py" ]]; then
|
||||
find packages/py -name "pyproject.toml" -exec echo "Dependencies in {}" \; -exec grep -A 10 "dependencies" {} \; 2>/dev/null || echo "⚠️ No Python packages found"
|
||||
else
|
||||
echo "⚠️ packages/py directory not found"
|
||||
fi
|
||||
|
||||
# JavaScript dependencies
|
||||
find packages/js -name "package.json" -exec echo "Dependencies in {}" \; -exec grep -A 10 "dependencies" {} \;
|
||||
if [[ -d "packages/js" ]]; then
|
||||
find packages/js -name "package.json" -exec echo "Dependencies in {}" \; -exec grep -A 10 "dependencies" {} \; 2>/dev/null || echo "⚠️ No JavaScript packages found"
|
||||
else
|
||||
echo "⚠️ packages/js directory not found"
|
||||
fi
|
||||
|
||||
echo "✅ Package dependency tests completed"
|
||||
|
||||
Reference in New Issue
Block a user