Skip to content

Commit

Permalink
add retry logic to ffmeg github tests setup
Browse files Browse the repository at this point in the history
  • Loading branch information
LoannPeurey committed Nov 13, 2024
1 parent f8165f0 commit 44a80cf
Showing 1 changed file with 57 additions and 0 deletions.
57 changes: 57 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,25 @@ jobs:
with:
python-version: "${{ matrix.python-version }}"
- name: ffmpeg
id: try1
continue-on-error: true
uses: FedericoCarboni/setup-ffmpeg@v3
with:
ffmpeg-version: release
architecture: ''
github-token: ${{ secrets.GITHUB }}
- name: ffmpeg (retry 1)
if: ${{ steps.try1.outcome == 'failure' }}
id: try2
continue-on-error: true
uses: FedericoCarboni/setup-ffmpeg@v3
with:
ffmpeg-version: release
architecture: ''
github-token: ${{ secrets.GITHUB }}
- name: ffmpeg (retry 2)
if: ${{ steps.try2.outcome == 'failure' }}
id: try3
uses: FedericoCarboni/setup-ffmpeg@v3
with:
ffmpeg-version: release
Expand Down Expand Up @@ -51,6 +70,25 @@ jobs:
with:
python-version: "${{ matrix.python-version }}"
- name: ffmpeg
id: try1
continue-on-error: true
uses: FedericoCarboni/setup-ffmpeg@v3
with:
ffmpeg-version: release
architecture: ''
github-token: ${{ secrets.GITHUB }}
- name: ffmpeg (retry 1)
if: ${{ steps.try1.outcome == 'failure' }}
id: try2
continue-on-error: true
uses: FedericoCarboni/setup-ffmpeg@v3
with:
ffmpeg-version: release
architecture: ''
github-token: ${{ secrets.GITHUB }}
- name: ffmpeg (retry 2)
if: ${{ steps.try2.outcome == 'failure' }}
id: try3
uses: FedericoCarboni/setup-ffmpeg@v3
with:
ffmpeg-version: release
Expand Down Expand Up @@ -80,6 +118,25 @@ jobs:
with:
python-version: "${{ matrix.python-version }}"
- name: ffmpeg
id: try1
continue-on-error: true
uses: FedericoCarboni/setup-ffmpeg@v3
with:
ffmpeg-version: release
architecture: ''
github-token: ${{ secrets.GITHUB }}
- name: ffmpeg (retry 1)
if: ${{ steps.try1.outcome == 'failure' }}
id: try2
continue-on-error: true
uses: FedericoCarboni/setup-ffmpeg@v3
with:
ffmpeg-version: release
architecture: ''
github-token: ${{ secrets.GITHUB }}
- name: ffmpeg (retry 2)
if: ${{ steps.try2.outcome == 'failure' }}
id: try3
uses: FedericoCarboni/setup-ffmpeg@v3
with:
ffmpeg-version: release
Expand Down

0 comments on commit 44a80cf

Please sign in to comment.