Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions .github/workflows/python-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,9 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r requirements_dev.txt
pip install -e .
python -m pip install --upgrade pip setuptools
python -m pip install -r requirements_dev.txt
python -m pip install -e .[django,flask,requests]
- name: Test
run: python setup.py test
- name: Upload coverage
Expand Down
31 changes: 20 additions & 11 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ setup_requires =
install_requires =
isodate
dictpath
openapi-spec-validator < 0.4.0
openapi-schema-validator < 0.2.0
openapi-spec-validator < 0.5.0
openapi-schema-validator < 0.3.0
six
lazy-object-proxy
attrs
Expand All @@ -39,25 +39,34 @@ install_requires =
backports.functools-lru-cache; python_version<"3.0"
backports.functools-partialmethod; python_version<"3.0"
tests_require =
mock; python_version<"3.0"
pytest
pytest-flake8 < 1.1.0
pytest-cov
flake8 < 4.0.0
mock == 2.0.0
pytest == 3.5.0
pytest-flake8 == 1.0.7
pytest-cov == 2.5.1
coverage == 5.5
djangorestframework == 3.9.4
flake8 == 3.9.2
falcon
flask
falcon == 2.0.0; python_version<"3.0"
responses
responses < 0.18.0; python_version<"3.0"
webob
strict-rfc3339 == 0.7

[options.packages.find]
exclude =
tests

[options.extras_require]
django =
django>=2.2; python_version>="3.0"
flask = flask
requests = requests
django < 2.0; python_version<"3.0"
django >= 2.2; python_version>="3.0"
flask =
flask
flask < 2.0.0; python_version<"3.0"
requests =
requests
requests < 2.28.0; python_version<"3.0"

[tool:pytest]
addopts = -sv --flake8 --junitxml reports/junit.xml --cov openapi_core --cov-report term-missing --cov-report xml:reports/coverage.xml