mirror of
https://github.com/nicolabs/ansible-role-grub.git
synced 2025-09-07 18:11:07 +02:00
Tox will try Ansible 4 and 5.
This commit is contained in:
parent
6e280c5f06
commit
2e7a96e161
4
.github/workflows/molecule.yml
vendored
4
.github/workflows/molecule.yml
vendored
|
@ -22,7 +22,7 @@ jobs:
|
|||
with:
|
||||
path: "${{ github.repository }}"
|
||||
- name: molecule
|
||||
uses: robertdebock/molecule-action@master
|
||||
uses: robertdebock/molecule-action@4.0.6
|
||||
with:
|
||||
command: lint
|
||||
test:
|
||||
|
@ -63,7 +63,7 @@ jobs:
|
|||
- name: parse apparmor for mysql
|
||||
run: sudo apparmor_parser -R /etc/apparmor.d/usr.sbin.mysqld
|
||||
- name: molecule
|
||||
uses: robertdebock/molecule-action@master
|
||||
uses: robertdebock/molecule-action@4.0.6
|
||||
with:
|
||||
image: ${{ matrix.config.image }}
|
||||
tag: ${{ matrix.config.tag }}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
image: "robertdebock/github-action-molecule"
|
||||
image: "robertdebock/github-action-molecule:4.0.5"
|
||||
|
||||
services:
|
||||
- docker:dind
|
||||
|
|
|
@ -11,7 +11,6 @@ lint: |
|
|||
set -e
|
||||
yamllint .
|
||||
ansible-lint
|
||||
ansible-later
|
||||
driver:
|
||||
name: docker
|
||||
platforms:
|
||||
|
|
9
tox.ini
9
tox.ini
|
@ -3,17 +3,16 @@
|
|||
#
|
||||
[tox]
|
||||
minversion = 3.21.4
|
||||
envlist = py{310}-ansible-{2.10,2.11,2.12}
|
||||
envlist = py{310}-ansible-{4,5}
|
||||
|
||||
skipsdist = true
|
||||
|
||||
[testenv]
|
||||
deps =
|
||||
2.10: ansible-base == 2.10.*
|
||||
2.11: ansible-core == 2.11.*
|
||||
2.12: ansible-core == 2.12.*
|
||||
4: ansible == 4.*
|
||||
5: ansible == 5.*
|
||||
molecule[docker]
|
||||
docker == 4.*
|
||||
docker == 5.*
|
||||
ansible-lint == 5.*
|
||||
commands = molecule test
|
||||
setenv =
|
||||
|
|
Loading…
Reference in a new issue