@@ -149,11 +149,10 @@ jobs:
149149 # run job on proper workflow event triggers (skip job for pull_request event from forks and only run pull_request_target for "tests: run" label)
150150 if : " ${{ (github.event.action != 'labeled' && github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name) || github.event.label.name == 'tests: run' }}"
151151 name : unit tests
152- runs-on : ${{ matrix.os }}
152+ runs-on : ubuntu-latest
153153 strategy :
154154 matrix :
155- os : [macos-latest, windows-latest, ubuntu-latest]
156- python-version : ["3.8", "3.9", "3.10", "3.11"]
155+ python-version : ["3.8", "3.11"]
157156 fail-fast : false
158157 permissions :
159158 contents : read
@@ -212,16 +211,4 @@ jobs:
212211 curl https://github.com/googleapis/repo-automation-bots/releases/download/flakybot-1.1.0/flakybot -o flakybot -s -L
213212 chmod +x ./flakybot
214213 ./flakybot --repo ${{github.repository}} --commit_hash ${{github.sha}} --build_url https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}
215- - name : FlakyBot (Windows)
216- # only run flakybot on periodic (schedule) and continuous (push) events
217- if : ${{ (github.event_name == 'schedule' || github.event_name == 'push') && runner.os == 'Windows' && always() }}
218- run : |
219- curl https://github.com/googleapis/repo-automation-bots/releases/download/flakybot-1.1.0/flakybot.exe -o flakybot.exe -s -L
220- ./flakybot.exe --repo ${{github.repository}} --commit_hash ${{github.sha}} --build_url https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}
221- - name : FlakyBot (macOS)
222- # only run flakybot on periodic (schedule) and continuous (push) events
223- if : ${{ (github.event_name == 'schedule' || github.event_name == 'push') && runner.os == 'macOS' && always() }}
224- run : |
225- curl https://github.com/googleapis/repo-automation-bots/releases/download/flakybot-1.1.0/flakybot-darwin-amd64 -o flakybot -s -L
226- chmod +x ./flakybot
227- ./flakybot --repo ${{github.repository}} --commit_hash ${{github.sha}} --build_url https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}
214+
0 commit comments