From 9c375dae855e559b51a79461dbaf739bd7b803c6 Mon Sep 17 00:00:00 2001 From: labuzm Date: Thu, 7 Jan 2021 23:41:27 +0100 Subject: [PATCH] update tests onfig --- .ci/az-pipelines/templates/common_test_wheel.yml | 2 +- pyproject.toml | 3 +++ scripts/docker_wheel_builder.sh | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.ci/az-pipelines/templates/common_test_wheel.yml b/.ci/az-pipelines/templates/common_test_wheel.yml index 97bb1a72..798e78f6 100644 --- a/.ci/az-pipelines/templates/common_test_wheel.yml +++ b/.ci/az-pipelines/templates/common_test_wheel.yml @@ -14,4 +14,4 @@ steps: ./venv_test_$(python.version)/${PYTHON} -m pip install --upgrade ../wheelhouse/*.whl ./venv_test_$(python.version)/${PYTHON} -m pip install -r ../requirements/test.txt ./venv_test_$(python.version)/${PYTHON} -m pytest - displayName: 'Testing wheel (import)' + displayName: 'Testing wheel' diff --git a/pyproject.toml b/pyproject.toml index 5a3fd523..1e39a2d7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,2 +1,5 @@ [build-system] requires = ["setuptools>=40", "wheel", "cython==0.29.21", "cmake>=3.13", "ninja", "scikit-build==0.11.1", "cymove==1.0.0"] + +[tool.pytest.ini_options] +testpaths = ["tests"] diff --git a/scripts/docker_wheel_builder.sh b/scripts/docker_wheel_builder.sh index ece60df9..24e24dc9 100644 --- a/scripts/docker_wheel_builder.sh +++ b/scripts/docker_wheel_builder.sh @@ -46,7 +46,7 @@ python --version yum install -y alsa-lib-devel pulseaudio-libs-devel # SDL audio dependencies yum install -y libXrandr-devel libXcursor-devel # SDL video dependencies -pip install -r /host/requirements-dev.txt +pip install -r /host/requirements/build.txt -r /host/requirements/dev.txt # simulate out-of-source build cp -r /host/src -v .