Skip to content

Commit

Permalink
Adds devel pipeline that tests with unreleased direct dependencies
Browse files Browse the repository at this point in the history
This should help us spot changes in other tools that would break
our extension before we release them.
  • Loading branch information
ssbarnea committed Dec 23, 2024
1 parent 8d1c971 commit 02413fe
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions .config/requirements-devel.in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ansible-dev-environment @ git+https://github.com/ansible/ansible-dev-environment@main
5 changes: 5 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,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
Expand Down
5 changes: 4 additions & 1 deletion tools/test-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -294,8 +294,11 @@ 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.
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
Expand Down

0 comments on commit 02413fe

Please sign in to comment.