Files
ktransformers/kt-kernel/pytest.ini
Jianwei Dong 51745a9ea1 add ci (#1642)
2025-11-25 20:52:08 +08:00

28 lines
602 B
INI

[pytest]
# Test paths
testpaths = test/per_commit
# File and function naming conventions
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Markers for hardware backends
markers =
cpu: CPU backend tests (Intel AMX/AVX512/AVX2)
cuda: CUDA backend tests (NVIDIA GPUs)
amd: AMD backend tests (ROCm)
slow: Slow-running tests (>60 seconds)
requires_model: Tests requiring model files
# Output options
addopts =
-v
--tb=short
--strict-markers
# Filter warnings
filterwarnings =
ignore::DeprecationWarning
ignore::PendingDeprecationWarning