From 87de87bd500b18fd28147c5bf4fffed69df2036b Mon Sep 17 00:00:00 2001 From: Sangjoon Bob Lee Date: Wed, 2 Jul 2025 15:11:26 +0900 Subject: [PATCH 1/2] news: Install tests.txt instead of test.txt for tests-on-PR and matrix CI. --- news/test-to-tests.rst | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 news/test-to-tests.rst diff --git a/news/test-to-tests.rst b/news/test-to-tests.rst new file mode 100644 index 0000000..f8521ea --- /dev/null +++ b/news/test-to-tests.rst @@ -0,0 +1,23 @@ +**Added:** + +* + +**Changed:** + +* + +**Deprecated:** + +* + +**Removed:** + +* + +**Fixed:** + +* Install tests.txt instead of test.txt for tests-on-PR and matrix CI. + +**Security:** + +* From 907b7aee589f1121c97d0bc4b855a5091ce611b4 Mon Sep 17 00:00:00 2001 From: Sangjoon Bob Lee Date: Wed, 2 Jul 2025 15:14:23 +0900 Subject: [PATCH 2/2] use tests.txt instead of test.txt --- .github/workflows/_matrix-and-codecov-on-merge-to-main.yml | 2 +- .github/workflows/_tests-on-pr-no-codecov-no-headless.yml | 2 +- .github/workflows/_tests-on-pr.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/_matrix-and-codecov-on-merge-to-main.yml b/.github/workflows/_matrix-and-codecov-on-merge-to-main.yml index 745c94a..7d986b7 100644 --- a/.github/workflows/_matrix-and-codecov-on-merge-to-main.yml +++ b/.github/workflows/_matrix-and-codecov-on-merge-to-main.yml @@ -72,7 +72,7 @@ jobs: - name: Install ${{ inputs.project }} and requirements run: | conda install --file requirements/conda.txt - conda install --file requirements/test.txt + conda install --file requirements/tests.txt if ${{ inputs.c_extension }}; then conda install --file requirements/build.txt fi diff --git a/.github/workflows/_tests-on-pr-no-codecov-no-headless.yml b/.github/workflows/_tests-on-pr-no-codecov-no-headless.yml index b5c0010..4f1ce8f 100644 --- a/.github/workflows/_tests-on-pr-no-codecov-no-headless.yml +++ b/.github/workflows/_tests-on-pr-no-codecov-no-headless.yml @@ -42,7 +42,7 @@ jobs: - name: Install package and requirements run: | conda install --file requirements/conda.txt - conda install --file requirements/test.txt + conda install --file requirements/tests.txt python -m pip install . --no-deps - name: Run extra user-defined CLI commands diff --git a/.github/workflows/_tests-on-pr.yml b/.github/workflows/_tests-on-pr.yml index 71ee4ef..31bd2f1 100644 --- a/.github/workflows/_tests-on-pr.yml +++ b/.github/workflows/_tests-on-pr.yml @@ -61,7 +61,7 @@ jobs: - name: Install ${{ inputs.project }} and requirements run: | conda install --file requirements/conda.txt - conda install --file requirements/test.txt + conda install --file requirements/tests.txt if ${{ inputs.c_extension }}; then conda install --file requirements/build.txt fi