Skip to content

Commit

Permalink
Fix tests (#6)
Browse files Browse the repository at this point in the history
* test ansible 9

* align tox.ini

* fix build matrix
  • Loading branch information
jseguillon authored Nov 27, 2023
1 parent b703557 commit ef8b378
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,18 @@ jobs:
include:
- tox_env: lint
python-version: '3.10'
- tox_env: py39-ansible_6
- tox_env: py10-ansible_6
python-version: '3.10'
- tox_env: py310-ansible_7
python-version: '3.11'
python-version: '3.10'
- tox_env: py311-ansible_8
python-version: '3.11'
- tox_env: py311-ansible_8
- tox_env: py312-ansible_8
python-version: '3.12'
- tox_env: py311-ansible_9
python-version: '3.11'
- tox_env: py312-ansible_9
python-version: '3.12'

steps:
- name: Check out code
uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,15 @@ deps =
py{39,310,311,312}-{ansible_6}: ansible>=6.0,<7.0
py{39,310,311,312}-{ansible_7}: ansible>=7.0,<8.0
py{39,310,311,312}-{ansible_8}: ansible>=8.0,<9.0

py{39,310,311,312}-{ansible_9}: ansible>=9.0,<10.0
extras =
lint
test
commands =
# failsafe as pip may install incompatible dependencies
ansible-playbook -i tests/hosts tests/testplay.yml -D

whitelist_externals =
allowlist_externals = ansible-playbook

[testenv:lint]
description = Runs all linting tasks
Expand Down

0 comments on commit ef8b378

Please sign in to comment.