diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 19f122e..6d55eeb 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -259,11 +259,21 @@ jobs: name: libgodot-xterm-release path: addons/godot_xterm/native/bin - name: Run tests - shell: bash - run: godot --no-window -s addons/gut/gut_cmdln.gd -gconfig=test/.gutconfig.ci.json + uses: nick-fields/retry@v2 + with: + shell: bash + command: godot --no-window -s addons/gut/gut_cmdln.gd -gconfig=test/.gutconfig.ci.json + retry_on: error + timeout_minutes: 5 + max_attempts: 3 - name: Run unix tests if: ${{ matrix.os != 'windows-latest' }} - run: godot --no-window -s addons/gut/gut_cmdln.gd -gconfig=test/.gutconfig.unix.json + uses: nick-fields/retry@v2 + with: + command: godot --no-window -s addons/gut/gut_cmdln.gd -gconfig=test/.gutconfig.unix.json + retry_on: error + timeout_minutes: 5 + max_attempts: 3 # Git archive should only include addons/godot_xterm directory.