diff --git a/.github/workflows/build-package-docs.yaml b/.github/workflows/build-package-docs.yaml index 0ed2709350..8b339cbc0e 100644 --- a/.github/workflows/build-package-docs.yaml +++ b/.github/workflows/build-package-docs.yaml @@ -28,6 +28,13 @@ on: - '11' - '10' - '9' + requirements: + type: choice + description: Use relax or tested requirements + default: tested + options: + - relaxed + - tested deploy: type: boolean description: Deploy the build @@ -73,8 +80,8 @@ jobs: - name: Install project requirements run: >- python -m pip install - -r tests/requirements.in - -c tests/requirements.txt + -r tests/requirements${{ github.event.inputs.requirements == 'relaxed' && '-relaxed' || '' }}.in + -c tests/requirements${{ github.event.inputs.requirements == 'relaxed' && '-relaxed' || '' }}.txt working-directory: build-directory - name: Set the COLLECTION_LIST variable @@ -123,6 +130,7 @@ jobs: echo "Package version: ${{ github.event.inputs.ansible-package-version }}"; echo "Owner: ${{ github.event.inputs.repository-owner }}"; echo "Branch: ${{ github.event.inputs.repository-branch }}"; + echo "Requirements: ${{ github.event.inputs.requirements }}"; } >> "${GITHUB_STEP_SUMMARY}" notify-build-failures: