GitHub Action
Clean deployment without binary files
f884e6e
[pytest]
minversion = 6.0
addopts = -ra -q
testpaths = tests
python_files = test_*.py *_test.py
python_classes = Test*
python_functions = test_*
# Register custom marks for project tests
markers =
citation: Tests related to citation validation
integration: Integration tests
# Pytest configuration for HuggingFace CI/CD
[tool.pytest.ini_options]
minversion = "6.0"
addopts = [
[pytest]
minversion = 6.0
addopts = -ra -q
testpaths = tests
python_files = test_*.py *_test.py
python_classes = Test*
python_functions = test_*
[coverage:run]
source = src
omit =
*/tests/*
*/venv/*
*/__pycache__/*
*/migrations/*
*/dev-tools/*
[coverage:report]
exclude_lines =
pragma: no cover
def __repr__
if self.debug:
if settings.DEBUG
raise AssertionError
raise NotImplementedError
if 0:
if __name__ == '__main__':
# Register custom marks
markers =
citation: Tests related to citation validation
integration: Integration tests