Skip to content

Commit

Permalink
Fixes ansible#2270 use relaxed or tested requirements
Browse files Browse the repository at this point in the history
This change updates the build package docs workflow to use either
relaxed or tested requirements files.
  • Loading branch information
oraNod committed Dec 9, 2024
1 parent fe89755 commit d18e70e
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/build-package-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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: >-
Expand Down

0 comments on commit d18e70e

Please sign in to comment.