Bump version of molecule action, update tox to use py38 and fix "path".

This commit is contained in:
Robert de Bock 2020-05-20 15:34:23 +02:00
parent 3f67049f38
commit e996f5f87a
2 changed files with 10 additions and 8 deletions

View File

@ -17,11 +17,13 @@ jobs:
steps: steps:
- name: checkout - name: checkout
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: molecule
uses: robertdebock/molecule-action@2.2.0
with: with:
entrypoint: /usr/local/bin/molecule path: {% raw %}"${{ github.repository }}"{% endraw %}
args: lint
- name: molecule
uses: robertdebock/molecule-action@2.3.4
with:
command: lint
test: test:
needs: needs:
- lint - lint
@ -49,7 +51,7 @@ jobs:
- name: parse apparmor for mysql - name: parse apparmor for mysql
run: sudo apparmor_parser -R /etc/apparmor.d/usr.sbin.mysqld run: sudo apparmor_parser -R /etc/apparmor.d/usr.sbin.mysqld
- name: molecule - name: molecule
uses: robertdebock/molecule-action@2.2.0 uses: robertdebock/molecule-action@2.3.4
with: with:
image: {% raw %}${{ matrix.config.image }}{% endraw %} image: {% raw %}${{ matrix.config.image }}{% endraw %}

View File

@ -2,13 +2,13 @@
[tox] [tox]
minversion = 3.7 minversion = 3.7
{% if tox_versions is defined %} {% if tox_versions is defined %}
envlist = py{37}-ansible-{% raw %}{{% endraw %}{% for version in tox_versions %}{{ version }}{% if not loop.last %},{% endif %}{% endfor %}{% raw %}}{% endraw %} envlist = py{38}-ansible-{% raw %}{{% endraw %}{% for version in tox_versions %}{{ version }}{% if not loop.last %},{% endif %}{% endfor %}{% raw %}}{% endraw %}
{% else %} {% else %}
# Disabled "next" because of: # Disabled "next" because of:
# https://github.com/ansible-community/molecule/issues/2626. # https://github.com/ansible-community/molecule/issues/2626.
# envlist = py{37}-ansible-{previous,current,next} # envlist = py{38}-ansible-{previous,current,next}
envlist = py{37}-ansible-{previous,current} envlist = py{38}-ansible-{previous,current}
{% endif %} {% endif %}
skipsdist = true skipsdist = true