Skip to content

Commit

Permalink
fix ansible-core versions and python version
Browse files Browse the repository at this point in the history
  • Loading branch information
npmdnl committed Mar 8, 2023
1 parent b8a752e commit 7d79475
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 20 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ jobs:
strategy:
matrix:
ansible:
- '2.9'
- '2.10'
- '2.11'
- "2.12"
- "2.13"
- "2.14"
scenario:
- pdns-45
- pdns-46
Expand All @@ -26,7 +26,7 @@ jobs:
- name: Install python
uses: actions/setup-python@v4
with:
python-version: '3.9'
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
15 changes: 7 additions & 8 deletions test-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
jinja2==2.11.3
markupsafe==2.0.1
ansible-lint==5.0.7
yamllint==1.26.1
molecule[docker]==3.3.0
molecule[lint]==3.3.0
testinfra
docker==5.0.0
ansible-lint==5.4.0
yamllint==1.29.0
molecule[docker]==4.0.0
molecule[lint]==4.0.0
pytest-testinfra==6.7.0
docker==5.0.3

16 changes: 8 additions & 8 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
[tox]
minversion = 1.8
envlist = ansible{29,210,211}
envlist = ansible{212,213,214}
skipsdist = true

[gh-actions:env]
ANSIBLE=
2.9: ansible29
2.10: ansible210
2.11: ansible211
2.12: ansible212
2.13: ansible213
2.14: ansible214

[testenv]
passenv = *
deps =
-rtest-requirements.txt
ansible29: ansible<2.10
ansible210: ansible<2.11
ansible211: ansible<2.12
ansible212: ansible-core>2.12,<2.13
ansible213: ansible-core>2.13,<2.14
ansible214: ansible-core>2.14,<2.15
setenv =
PY_COLORS = 1
commands =
{posargs:molecule -vv test --all --destroy always}
{posargs:molecule test --all --destroy always}

0 comments on commit 7d79475

Please sign in to comment.