From 1c251cadf15db48ac8c4e1e7aa76cec4683fa6ac Mon Sep 17 00:00:00 2001 From: Robert de Bock Date: Fri, 3 Jul 2020 12:50:34 +0200 Subject: [PATCH] Retry tox or molecule 3 times. --- .github/workflows/molecule.yml | 4 ++-- .travis.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/molecule.yml b/.github/workflows/molecule.yml index 76b6b00..9d5ce14 100644 --- a/.github/workflows/molecule.yml +++ b/.github/workflows/molecule.yml @@ -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: @@ -69,7 +69,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 }} diff --git a/.travis.yml b/.travis.yml index 7398a98..21b0b58 100644 --- a/.travis.yml +++ b/.travis.yml @@ -36,7 +36,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/