@@ -123,28 +123,7 @@ jobs:
123123 SQLSERVER_PASS : ' ${{ steps.secrets.outputs.SQLSERVER_PASS }}'
124124 SQLSERVER_DB : ' ${{ steps.secrets.outputs.SQLSERVER_DB }}'
125125 run : nox -s system-${{ matrix.python-version }}
126-
127- - name : FlakyBot (Linux)
128- # only run flakybot on periodic (schedule) and continuous (push) events
129- if : ${{ (github.event_name == 'schedule' || github.event_name == 'push') && runner.os == 'Linux' && always() }}
130- run : |
131- curl https://github.com/googleapis/repo-automation-bots/releases/download/flakybot-1.1.0/flakybot -o flakybot -s -L
132- chmod +x ./flakybot
133- ./flakybot --repo ${{github.repository}} --commit_hash ${{github.sha}} --build_url https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}
134- - name : FlakyBot (Windows)
135- # only run flakybot on periodic (schedule) and continuous (push) events
136- if : ${{ (github.event_name == 'schedule' || github.event_name == 'push') && runner.os == 'Windows' && always() }}
137- run : |
138- curl https://github.com/googleapis/repo-automation-bots/releases/download/flakybot-1.1.0/flakybot.exe -o flakybot.exe -s -L
139- ./flakybot.exe --repo ${{github.repository}} --commit_hash ${{github.sha}} --build_url https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}
140- - name : FlakyBot (macOS)
141- # only run flakybot on periodic (schedule) and continuous (push) events
142- if : ${{ (github.event_name == 'schedule' || github.event_name == 'push') && runner.os == 'macOS' && always() }}
143- run : |
144- curl https://github.com/googleapis/repo-automation-bots/releases/download/flakybot-1.1.0/flakybot-darwin-amd64 -o flakybot -s -L
145- chmod +x ./flakybot
146- ./flakybot --repo ${{github.repository}} --commit_hash ${{github.sha}} --build_url https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}
147-
126+
148127 unit :
149128 # 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)
150129 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' }}"
@@ -203,12 +182,3 @@ jobs:
203182
204183 - name : Run tests
205184 run : nox -s unit-${{ matrix.python-version }}
206-
207- - name : FlakyBot (Linux)
208- # only run flakybot on periodic (schedule) and continuous (push) events
209- if : ${{ (github.event_name == 'schedule' || github.event_name == 'push') && runner.os == 'Linux' && always() }}
210- run : |
211- curl https://github.com/googleapis/repo-automation-bots/releases/download/flakybot-1.1.0/flakybot -o flakybot -s -L
212- chmod +x ./flakybot
213- ./flakybot --repo ${{github.repository}} --commit_hash ${{github.sha}} --build_url https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}
214-
0 commit comments