Skip to content

Commit 8f18d10

Browse files
author
Saurav Agarwal
committed
remove pytest
1 parent cfde36e commit 8f18d10

File tree

2 files changed

+9
-32
lines changed

2 files changed

+9
-32
lines changed

doc/manual/installation.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -124,18 +124,6 @@ The package also supports GPU acceleration using CUDA. To enable this feature, t
124124
pip install .
125125
```
126126

127-
Testing the installation (from the root of the repository):
128-
129-
Download the file `pytest_data.tar.gz` from the repository's [release page](https://github.com/KumarRobotics/CoverageControl/releases) and extract it to `python/tests/`.
130-
This will create a directory `python/tests/data`.
131-
132-
Then run the following commands:
133-
```bash
134-
pip install pytest
135-
pytest
136-
```
137-
138-
139127
## Building the Core C++ Library
140128

141129

pyproject.toml

Lines changed: 9 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,11 @@ repair-wheel-command = ""
7474

7575
# test-command=""
7676
# before-test=""
77-
test-command = "pytest -ra --showlocals --ignore={project}/python/tests/deprecated {project}/python/tests/test_coverage_env_utils.py {project}/python/tests/test_coverage.py {project}/python/tests/test_env_io.py {project}/python/tests/test_map_generation.py {project}/python/tests/test_models.py {project}/python/tests/test_package.py {project}/python/tests/test_parameters.py {project}/python/tests/test_parity.py"
77+
# test-command = "pytest -ra --showlocals --ignore={project}/python/tests/deprecated {project}/python/tests/test_coverage_env_utils.py {project}/python/tests/test_coverage.py {project}/python/tests/test_env_io.py {project}/python/tests/test_map_generation.py {project}/python/tests/test_models.py {project}/python/tests/test_package.py {project}/python/tests/test_parameters.py {project}/python/tests/test_parity.py"
7878

79-
before-test = "pip install pytest torch torchvision torch_geometric && wget https://github.com/KumarRobotics/CoverageControl/releases/download/v1.3.0/pytest_data.tar.gz && tar -xvf pytest_data.tar.gz -C python/tests/ && rm pytest_data.tar.gz"
80-
test-requires = []
81-
test-extras = []
79+
# before-test = "pip install pytest torch torchvision torch_geometric && wget https://github.com/KumarRobotics/CoverageControl/releases/download/v1.3.0/pytest_data.tar.gz && tar -xvf pytest_data.tar.gz -C python/tests/ && rm pytest_data.tar.gz"
80+
# test-requires = []
81+
# test-extras = []
8282

8383
container-engine = "docker"
8484

@@ -96,19 +96,8 @@ repair-wheel-command = "delocate-wheel --require-archs {delocate_archs} -w {dest
9696
[tool.cibuildwheel.windows]
9797

9898
[tool.pytest.ini_options]
99-
addopts = ["--ignore=python/tests/deprecated", "-ra", "--showlocals"]
100-
testpaths = ["python/tests"]
101-
102-
[tool.pylint]
103-
py-version = "3.10"
104-
ignore-paths = [".*/_version.py", "cppsrc/*", "utils/*", "python/coverage_control/_version.py"]
105-
extension-pkg-allow-list = ["coverage_control._core"]
106-
reports.output-format = "colorized"
107-
similarities.ignore-imports = "yes"
108-
# messages_control.disable = [
109-
# "design",
110-
# "fixme",
111-
# "line-too-long",
112-
# "missing-module-docstring",
113-
# "wrong-import-position",
114-
# ]
99+
minversion = "6.0"
100+
addopts = "-ra"
101+
testpaths = [
102+
"./python/tests",
103+
]

0 commit comments

Comments
 (0)