diff --git a/docs/source/testing.rst b/docs/source/testing.rst index 31c4a87..ad67ca2 100644 --- a/docs/source/testing.rst +++ b/docs/source/testing.rst @@ -3,13 +3,5 @@ Testing See :ref:`install` to install the dependencies. -See `test/README.md` to run the tests in `test`. - To run the tests that use `pytest`, install the testing dependencies running ``pip install .[test]``. - -In Debian, you can install the testing dependencies in the system running ``apt -install tox``. - -Run the tests with the command `tox`. You can run individual tests by running -``tox -e ``, eg. ``tox -e py37`` or ``tox -e unit``. diff --git a/setup.cfg b/setup.cfg index 022d177..89e6e6f 100755 --- a/setup.cfg +++ b/setup.cfg @@ -31,14 +31,9 @@ python_requires = >= 3.6 test_suite = tests setup_requires = setuptools >=39.2.0 - # To automatically write the version from a SCM. - # Note: It fails with tags named as `Release_2.2.0-RC0`, because it is - # not conforming to semantic versioning, but it succeed with tags as - # `2.2.0-rc0`. setuptools_scm >= 4.1.2 [options.extras_require] # To install these dependencies, run pip install .[test] test = pytest - tox doc = sphinx diff --git a/tox.ini b/tox.ini deleted file mode 100644 index 6026f39..0000000 --- a/tox.ini +++ /dev/null @@ -1,35 +0,0 @@ -[tox] -skip_missing_interpreters = True -envlist = py36, py37, py38, inst, setup, unit, doc - -# test that it can be installed with custom commands and clean env -[testenv:inst] -skip_install = True -commands = - - pip install . -recreate = True - -[testenv:setup] -skip_install = True -commands = python setup.py install -recreate = True - -[testenv:unit] -deps = .[test] -commands = pytest -svv tests - -[testenv:doc] -deps = .[doc] -whitelist_externals = make -changedir = docs -commands = - make html - make man - -# this requires Internet, it should not be in envlist -[testenv:doclinks] -deps = .[doc] -whitelist_externals = make -changedir = docs -commands = - make linkcheck