diff --git a/.config/requirements-devel.in b/.config/requirements-devel.in new file mode 100644 index 000000000..83d07b189 --- /dev/null +++ b/.config/requirements-devel.in @@ -0,0 +1,9 @@ +ansible-compat @ git+https://github.com/ansible/ansible-compat@main +ansible-creator @ git+https://github.com/ansible/ansible-creator@main +ansible-dev-environment @ git+https://github.com/ansible/ansible-dev-environment@main +ansible-dev-tools @ git+https://github.com/ansible/ansible-dev-tools@main +ansible-lint @ git+https://github.com/ansible/ansible-lint@main +ansible-navigator @ git+https://github.com/ansible/ansible-navigator@main +molecule @ git+https://github.com/ansible/molecule@main +pytest-ansible @ git+https://github.com/ansible/pytest-ansible@main +tox-ansible @ git+https://github.com/ansible/tox-ansible@main diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 639095139..e87b4877b 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -79,6 +79,11 @@ jobs: - name: test (linux) task-name: test + - name: test-devel (linux) + task-name: test + env: + DEVEL: 1 + - name: test (macos) task-name: test os: macos-13-large diff --git a/tools/test-setup.sh b/tools/test-setup.sh index b662f3c91..d62201a41 100755 --- a/tools/test-setup.sh +++ b/tools/test-setup.sh @@ -294,8 +294,12 @@ if [[ $(uname || true) != MINGW* ]]; then # if we are not on pure Windows # We used the already tested constraints file from community-ansible-dev-tools EE in order # to avoid surprises. This ensures venv and community-ansible-dev-tools EE have exactly same # versions. + PIP_DEVEL_ARGS=() + if [[ "${DEVEL:-}" == "1" ]]; then + PIP_DEVEL_ARGS=("-r" ".config/requirements-devel.in") + fi python3 -m uv pip install -q \ - -r .config/requirements.in + -r .config/requirements.in "${PIP_DEVEL_ARGS[@]}" fi # GHA failsafe only: ensure ansible and ansible-lint cannot be found anywhere @@ -477,7 +481,11 @@ env: OS: ${OS:-null} # taskfile OSTYPE: ${OSTYPE} tools: + ade: $(get_version ade) + ansible-builder: $(get_version ansible-builder) + ansible-creator: $(get_version ansible-creator) ansible-lint: $(get_version ansible-lint) + ansible-navigator: $(get_version ansible-navigator) ansible: $(get_version ansible) asdf: $(get_version asdf) bash: $(get_version bash)