tests, avoid py310 for now
@@ -17,21 +17,32 @@ requirements:
host:
- pip
- pytest-runner
- - python >=3.7
+ # TODO: remove pin after https://github.com/s-knibbs/dataclasses-jsonschema/issues/181
+ - python >=3.7,<3.10
- setuptools-scm
run:
+ - dataclasses
- jsonschema
- - python >=3.7
+ - python >=3.7,<3.10
- python-dateutil
- typing-extensions
test:
+ source_files:
+ - tests
imports:
- dataclasses_jsonschema
commands:
- pip check
+ - pytest tests -vv --cov dataclasses_jsonschema --cov-report=term-missing:skip-covered --cov-fail-under=92 --no-cov-on-fail
requires:
+ - apispec
+ - apispec-webframeworks
+ - flask
- pip
+ - pytest-cov
+ - pytest-ordering
+ - python-fastjsonschema
about:
home: https://github.com/s-knibbs/dataclasses-jsonschema
