Skip to content

Commit

Permalink
Enable testing with released version on ansible 2.17 (#383)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssbarnea authored May 28, 2024
1 parent 29cfc62 commit 60351d5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,10 @@ jobs:
py39-ansible214
py39-ansible215
py310-ansible215
py310-ansible217
py311-ansible215
py312-ansible216
py312-ansible217
py312-devel
smoke
platforms: linux,macos
Expand Down Expand Up @@ -137,7 +139,7 @@ jobs:

- name: Check for expected number of coverage.xml reports
run: |
JOBS_PRODUCING_COVERAGE=12
JOBS_PRODUCING_COVERAGE=14
if [ "$(find . -name coverage.xml | wc -l | bc)" -ne "${JOBS_PRODUCING_COVERAGE}" ]; then
echo "::error::Number of coverage.xml files was not the expected one (${JOBS_PRODUCING_COVERAGE}): $(find . -name coverage.xml |xargs echo)"
exit 1
Expand Down
2 changes: 2 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,13 @@ description =
ansible214: ansible-core 2.14
ansible215: ansible-core 2.15
ansible216: ansible-core 2.16
ansible217: ansible-core 2.17

deps =
ansible214: ansible-core>=2.14,<2.15
ansible215: ansible-core>=2.15,<2.16
ansible216: ansible-core>=2.16,<2.17
ansible217: ansible-core>=2.17,<2.18

devel: ansible-core @ git+https://github.com/ansible/ansible.git@c5d18c39d81e2b3b10856b2fb76747230e4fac4a # GPLv3+
# avoid installing ansible-core on -devel envs:
Expand Down

0 comments on commit 60351d5

Please sign in to comment.