[Mod] slim CI install and ignore missing torch imports

This commit is contained in:
vn.py committed 2026-10-04 17:37:37 +08:00
1 parent 553ae3ba28
commit cbb0d4fc91
2 files changed
+7 -6

No files matched your search

+5 -6
View File
@@ -27,9 +27,10 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ruff mypy uv types-tqdm
uv pip install ta-lib==0.6.4 --index=https://pypi.vnpy.com --system
uv pip install -e .[alpha,dev] --system
python -m pip install ruff==0.14.1 mypy==1.19.1 uv pytest types-tqdm
python -m pip install "ta-lib==0.6.4" --index-url https://pypi.vnpy.com
python -m pip install -e ".[dev]" "polars>=1.26.0" "scipy>=1.15.2" statsmodels matplotlib
python -m pip install vnpy_sqlite
- name: Lint
run: ruff check .
@@ -38,9 +39,7 @@ jobs:
run: mypy vnpy
- name: Test
run: |
python -m pip install pytest
python -m pytest tests
run: python -m pytest tests
- name: Build
run: uv build