Retry tox or molecule 3 times.

This commit is contained in:
Robert de Bock 2020-07-03 12:21:41 +02:00
parent bd6a8d58c5
commit aee46c73d7
2 changed files with 3 additions and 3 deletions

View file

@ -22,7 +22,7 @@ jobs:
with:
path: "${{ github.repository }}"
- name: molecule
uses: robertdebock/molecule-action@2.3.4
uses: robertdebock/molecule-action@2.5.0
with:
command: lint
test:
@ -53,7 +53,7 @@ jobs:
- name: parse apparmor for mysql
run: sudo apparmor_parser -R /etc/apparmor.d/usr.sbin.mysqld
- name: molecule
uses: robertdebock/molecule-action@2.3.4
uses: robertdebock/molecule-action@2.5.0
with:
image: ${{ matrix.config.image }}
tag: ${{ matrix.config.tag }}

View file

@ -28,7 +28,7 @@ install:
- pip install tox
script:
- tox --parallel all
- n=0 ; until [ "$n" = 3 ] ; do tox --parallel all && break ; n=$((n+1)) ; done
notifications:
webhooks: https://galaxy.ansible.com/api/v1/notifications/