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
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:
@@ -45,8 +45,9 @@ jobs:
|
||||
bash scripts/ci/setup-python-venv.sh \
|
||||
--repo-dir "$PWD" \
|
||||
--venv-dir "$PWD/venv" \
|
||||
--skip-requirements \
|
||||
--mode copy \
|
||||
--extra-packages "pytest-cov pytest-mock pytest-timeout locust"
|
||||
--extra-packages "pytest pytest-cov pytest-mock pytest-timeout pytest-asyncio locust"
|
||||
echo "✅ Python environment ready"
|
||||
|
||||
- name: Run linting
|
||||
|
||||
Reference in New Issue
Block a user