Add repo root to PYTHONPATH for package tests to allow importing from main aitbc package
Some checks failed
Package Tests / Python package - aitbc-agent-sdk (push) Successful in 27s
Package Tests / Python package - aitbc-core (push) Failing after 8s
Package Tests / Python package - aitbc-crypto (push) Successful in 9s
Package Tests / Python package - aitbc-sdk (push) Successful in 22s
Package Tests / JavaScript package - aitbc-sdk-js (push) Successful in 13s
Package Tests / JavaScript package - aitbc-token (push) Has been cancelled

This commit is contained in:
aitbc
2026-04-25 20:42:56 +02:00
parent 5196599e3b
commit 170eb516ac

View File

@@ -89,6 +89,7 @@ jobs:
# Tests
echo "=== Tests ==="
if [[ -d "tests" ]]; then
export PYTHONPATH="$WORKSPACE/repo:$PYTHONPATH"
venv/bin/python -m pytest tests/ -q --tb=short
else
echo "⚠️ No tests directory found"