Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add marshmallow as a test requirement, and fix pytest setup #741

Merged
merged 2 commits into from
Mar 19, 2019

Conversation

akaihola
Copy link
Contributor

@akaihola akaihola commented Mar 18, 2019

Running python setup.py test on develop would give me an

ERROR: file not found: test

In this PR, pytest is now integrated according to the recommendations at
https://docs.pytest.org/en/latest/goodpractices.html#integrating-with-setuptools-python-setup-py-test-pytest-runner

The default test run is also limited to tests under the tests/
directory, excluding e.g. benchmarks/ which would have added a
number of dependencies.

pytest is now integrated according to the recommendations at
https://docs.pytest.org/en/latest/goodpractices.html#integrating-with-setuptools-python-setup-py-test-pytest-runner

The default test run is also limited to tests under the `tests/`
directory, excluding e.g. `benchmarks/` which would have added a
number of dependencies.
@coveralls
Copy link

Coverage Status

Coverage remained the same at 99.566% when pulling f1bf9c7 on akaihola:fix-setup.py-test into 78afab0 on timothycrosley:develop.

@coveralls
Copy link

coveralls commented Mar 18, 2019

Coverage Status

Coverage remained the same at 99.566% when pulling d40e9cb on akaihola:fix-setup.py-test into b615fdc on timothycrosley:develop.

@timothycrosley
Copy link
Collaborator

Looks great, thank you!

@timothycrosley timothycrosley merged commit fe1b10d into hugapi:develop Mar 19, 2019
@akaihola akaihola deleted the fix-setup.py-test branch March 19, 2019 07:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants