From fca0a844372afb87fbfcf84fd1088474105e8f95 Mon Sep 17 00:00:00 2001 From: Michael Ekstrand Date: Fri, 10 Nov 2023 16:10:29 -0500 Subject: [PATCH] move coverage to test env --- envs/lenskit-py3.10-ci.yaml | 2 ++ envs/lenskit-py3.10-test.yaml | 2 ++ envs/lenskit-py3.11-ci.yaml | 2 ++ envs/lenskit-py3.11-test.yaml | 2 ++ pyproject.toml | 4 ++-- 5 files changed, 10 insertions(+), 2 deletions(-) diff --git a/envs/lenskit-py3.10-ci.yaml b/envs/lenskit-py3.10-ci.yaml index 88f9f4fd7..a1d9e5ce3 100644 --- a/envs/lenskit-py3.10-ci.yaml +++ b/envs/lenskit-py3.10-ci.yaml @@ -13,6 +13,7 @@ dependencies: - python=3.10 - binpickle >= 0.3.2 - cffi >= 1.12.2 + - coverage >= 5 - csr >= 0.4 - hypothesis >= 6 - numba >= 0.51, < 0.59 @@ -20,6 +21,7 @@ dependencies: - pandas >=1.0, <2 - psutil >= 5 - pytest ==7.* + - pytest-cov >= 2.12 - pytest-doctestplus >= 0.9 - scikit-learn >= 0.22 - scipy >= 1.3.2 diff --git a/envs/lenskit-py3.10-test.yaml b/envs/lenskit-py3.10-test.yaml index 85371982d..ea44d93da 100644 --- a/envs/lenskit-py3.10-test.yaml +++ b/envs/lenskit-py3.10-test.yaml @@ -13,6 +13,7 @@ dependencies: - python=3.10 - binpickle >= 0.3.2 - cffi >= 1.12.2 + - coverage >= 5 - csr >= 0.4 - hypothesis >= 6 - numba >= 0.51, < 0.59 @@ -20,6 +21,7 @@ dependencies: - pandas >=1.0, <2 - psutil >= 5 - pytest ==7.* + - pytest-cov >= 2.12 - pytest-doctestplus >= 0.9 - scipy >= 1.3.2 - seedbank >= 0.1.0 diff --git a/envs/lenskit-py3.11-ci.yaml b/envs/lenskit-py3.11-ci.yaml index aa2de34be..010348c1d 100644 --- a/envs/lenskit-py3.11-ci.yaml +++ b/envs/lenskit-py3.11-ci.yaml @@ -13,6 +13,7 @@ dependencies: - python=3.11 - binpickle >= 0.3.2 - cffi >= 1.12.2 + - coverage >= 5 - csr >= 0.4 - hypothesis >= 6 - numba >= 0.51, < 0.59 @@ -20,6 +21,7 @@ dependencies: - pandas >=1.0, <2 - psutil >= 5 - pytest ==7.* + - pytest-cov >= 2.12 - pytest-doctestplus >= 0.9 - scikit-learn >= 0.22 - scipy >= 1.3.2 diff --git a/envs/lenskit-py3.11-test.yaml b/envs/lenskit-py3.11-test.yaml index ee4e4ef73..4135e012f 100644 --- a/envs/lenskit-py3.11-test.yaml +++ b/envs/lenskit-py3.11-test.yaml @@ -13,6 +13,7 @@ dependencies: - python=3.11 - binpickle >= 0.3.2 - cffi >= 1.12.2 + - coverage >= 5 - csr >= 0.4 - hypothesis >= 6 - numba >= 0.51, < 0.59 @@ -20,6 +21,7 @@ dependencies: - pandas >=1.0, <2 - psutil >= 5 - pytest ==7.* + - pytest-cov >= 2.12 - pytest-doctestplus >= 0.9 - scipy >= 1.3.2 - seedbank >= 0.1.0 diff --git a/pyproject.toml b/pyproject.toml index 4574503ae..c225cf4af 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -40,6 +40,8 @@ source = "https://github.com/lenskit/lkpy" test = [ "pytest ==7.*", "pytest-doctestplus >= 0.9", + "coverage >= 5", + "pytest-cov >= 2.12", "hypothesis >= 6" ] dev = [ @@ -50,8 +52,6 @@ dev = [ "requests >=2", "packaging >= 20", "flake8 >= 3", - "coverage >= 5", - "pytest-cov >= 2.12", "ipython >= 7", "docopt >= 0.6", "tqdm >= 4",