ci: standardize venv setup with --skip-requirements and explicit test dependencies across workflows
Some checks failed
CLI Tests / test-cli (push) Failing after 15s
Package Tests / Python package - aitbc-agent-sdk (push) Failing after 4s
Package Tests / Python package - aitbc-core (push) Failing after 2s
Package Tests / Python package - aitbc-crypto (push) Failing after 2s
Package Tests / Python package - aitbc-sdk (push) Failing after 4s
Package Tests / JavaScript package - aitbc-sdk-js (push) Failing after 26m1s
Package Tests / JavaScript package - aitbc-token (push) Failing after 27s
Python Tests / test-python (push) Failing after 20s
Staking Tests / test-staking-service (push) Failing after 10s
Staking Tests / test-staking-integration (push) Has been skipped
Staking Tests / test-staking-contract (push) Has been skipped
Staking Tests / run-staking-test-runner (push) Has been skipped

- Added --skip-requirements flag to cli-level1-tests.yml, python-tests.yml, and staking-tests.yml
- Specified explicit test package dependencies via --extra-packages instead of relying on requirements files
  - cli-level1-tests.yml: pytest click typer rich
  - python-tests.yml: pytest pytest-cov pytest-mock pytest-timeout pytest-asyncio locust
  - staking-tests.yml: pytest pytest-asyncio
- Increased
This commit is contained in:
aitbc
2026-04-20 06:44:09 +02:00
parent ffb1f2a4f8
commit 39988af60b
4 changed files with 9 additions and 4 deletions

View File

@@ -41,7 +41,9 @@ jobs:
bash scripts/ci/setup-python-venv.sh \
--repo-dir "$PWD" \
--venv-dir "$PWD/venv"
--venv-dir "$PWD/venv" \
--skip-requirements \
--extra-packages "pytest pytest-asyncio"
echo "✅ Python environment ready"
- name: Run staking service tests