From 978a1e9fbb8686a9face89153d72da6bb48d5aa8 Mon Sep 17 00:00:00 2001 From: memento Date: Wed, 3 Apr 2024 18:19:57 -0500 Subject: [PATCH 1/4] (test) add sp-repo-review as downstream --- recipe/meta.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index ffd9f67..85fc603 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -12,7 +12,7 @@ source: build: noarch: python script: {{ PYTHON }} -m pip install . -vv - number: 0 + number: 1 entry_points: - repo-review = repo_review.__main__:main @@ -49,6 +49,8 @@ test: - validate-pyproject -E repo-review --help # Remove tests that depends upon sp-repo-review - rm tests/test_self.py && pytest + downstreams: + - sp-repo-review about: home: https://github.com/scientific-python/repo-review From b2bd564601ac09b123e2a0f9d65e135e13ce3d34 Mon Sep 17 00:00:00 2001 From: memento Date: Wed, 3 Apr 2024 18:26:35 -0500 Subject: [PATCH 2/4] (dbg) add sp-repo-review in test environment --- recipe/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 85fc603..cf92b1c 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -41,7 +41,7 @@ test: - rich-click - pip - pytest - # - sp-repo-review + - sp-repo-review - validate-pyproject >=0.14 commands: - pip check From 120f4c5f4a5d6443e0f3d26328bf2120096630f4 Mon Sep 17 00:00:00 2001 From: memento Date: Thu, 4 Apr 2024 09:33:30 -0500 Subject: [PATCH 3/4] (ref) add project files in test env. add maintainer --- recipe/meta.yaml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index cf92b1c..e186221 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -35,8 +35,15 @@ test: - repo_review.fixtures - repo_review.schema source_files: + - docs - tests + - README.md + - LICENSE + - noxfile.py - pyproject.toml + - .github + - .pre-commit-config.yaml + - .readthedocs.yaml requires: - rich-click - pip @@ -47,8 +54,7 @@ test: - pip check - repo-review --help - validate-pyproject -E repo-review --help - # Remove tests that depends upon sp-repo-review - - rm tests/test_self.py && pytest + - pytest downstreams: - sp-repo-review @@ -69,4 +75,5 @@ about: extra: recipe-maintainers: + - henryiii - MementoRC From 3fea5b67c2417fb0eb486056672a33278e5d61af Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Thu, 4 Apr 2024 11:12:27 -0400 Subject: [PATCH 4/4] Apply suggestions from code review --- recipe/meta.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index e186221..e60c365 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -54,7 +54,8 @@ test: - pip check - repo-review --help - validate-pyproject -E repo-review --help - - pytest + - mkdir src + - pytest -k "not test_cmd_dual" downstreams: - sp-repo-review