@@ -41,10 +41,13 @@ jobs:
4141 run : scripts/setup_bundler.sh
4242 - name : Xcode
4343 run : sudo xcode-select -s /Applications/${{ matrix.xcode }}.app/Contents/Developer
44- - name : Build and test
45- run : |
46- scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseSessions.podspec \
47- --platforms=${{ matrix.target }} ${{ matrix.tests }}
44+ - uses : nick-fields/retry@v3
45+ with :
46+ timeout_minutes : 120
47+ max_attempts : 3
48+ retry_on : error
49+ retry_wait_seconds : 120
50+ command : scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseSessions.podspec --platforms=${{ matrix.target }} ${{ matrix.tests }}
4851
4952 spm :
5053 # Don't run on private repo unless it is a PR.
7174 run : sudo xcode-select -s /Applications/${{ matrix.xcode }}.app/Contents/Developer
7275 - name : Initialize xcodebuild
7376 run : scripts/setup_spm_tests.sh
74- - name : Unit Tests
75- run : scripts/third_party/travis/retry.sh ./scripts/build.sh FirebaseSessionsUnit ${{ matrix.target }} spm
77+ - uses : nick-fields/retry@v3
78+ with :
79+ timeout_minutes : 120
80+ max_attempts : 3
81+ retry_on : error
82+ retry_wait_seconds : 120
83+ command : scripts/third_party/travis/retry.sh ./scripts/build.sh FirebaseSessionsUnit ${{ matrix.target }} spm
7684
7785 catalyst :
7886 # Don't run on private repo unless it is a PR.
8795 - uses : ruby/setup-ruby@v1
8896 - name : Setup Bundler
8997 run : scripts/setup_bundler.sh
90- - name : Setup project and Build for Catalyst
91- run : scripts/test_catalyst.sh FirebaseSessions test FirebaseSessions-Unit-unit
98+ - uses : nick-fields/retry@v3
99+ with :
100+ timeout_minutes : 120
101+ max_attempts : 3
102+ retry_on : error
103+ retry_wait_seconds : 120
104+ command : scripts/test_catalyst.sh FirebaseSessions test FirebaseSessions-Unit-unit
0 commit comments