From d18e70e6ce8091982cb92e114b46a04e0e02418f Mon Sep 17 00:00:00 2001 From: Don Naro Date: Mon, 9 Dec 2024 20:41:44 +0000 Subject: [PATCH] Fixes #2270 use relaxed or tested requirements This change updates the build package docs workflow to use either relaxed or tested requirements files. --- .github/workflows/build-package-docs.yaml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-package-docs.yaml b/.github/workflows/build-package-docs.yaml index 0ed27093500..263b79c2e79 100644 --- a/.github/workflows/build-package-docs.yaml +++ b/.github/workflows/build-package-docs.yaml @@ -28,6 +28,12 @@ on: - '11' - '10' - '9' + requirements: + type: choice + description: Use relax or tested requirements + options: + - relaxed + - tested deploy: type: boolean description: Deploy the build @@ -70,13 +76,22 @@ jobs: run: nox -s clone-core working-directory: build-directory - - name: Install project requirements + - name: Install tested requirements + if: github.event.inputs.requirements == 'tested' run: >- python -m pip install -r tests/requirements.in -c tests/requirements.txt working-directory: build-directory + - name: Install relaxed requirements + if: github.event.inputs.requirements == 'relaxed' + run: >- + python -m pip install + -r tests/requirements-relaxed.in + -c tests/requirements-relaxed.txt + working-directory: build-directory + - name: Set the COLLECTION_LIST variable if: env.PACKAGE_VERSION != 'devel' run: >-