mirror of
https://github.com/NicolasBohn/NexQuant.git
synced 2026-07-27 23:47:46 +00:00
test: expand pre-commit to run qlib+backtesting unit tests (160+ tests)
This commit is contained in:
+10
-5
@@ -2,18 +2,23 @@
|
||||
# See https://pre-commit.com for more information
|
||||
|
||||
repos:
|
||||
# ── Integration Tests (MANDATORY - MUST PASS before commit) ──────
|
||||
# ── Qlib Unit Tests (MANDATORY) ──────────────────────────────────
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: integration-tests
|
||||
name: Run Integration Tests (60 tests)
|
||||
- id: qlib-unit-tests
|
||||
name: Qlib Unit Tests (~190 tests)
|
||||
entry: pytest
|
||||
language: system
|
||||
args:
|
||||
- test/integration/test_all_features.py
|
||||
- test/qlib/
|
||||
- test/backtesting/
|
||||
- -v
|
||||
- --tb=short
|
||||
- --no-cov # Skip coverage for speed (run separately if needed)
|
||||
- --no-cov
|
||||
- --ignore=test/backtesting/test_ftmo_oos.py
|
||||
- --ignore=test/backtesting/test_kronos_adapter.py
|
||||
- --ignore=test/backtesting/test_results_db.py
|
||||
- --ignore=test/qlib/test_fin_quant_integration.py
|
||||
pass_filenames: false
|
||||
always_run: true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user