@@ -160,7 +160,7 @@ jobs:
160
160
- name : Run browser tests in Firefox
161
161
uses : ./.github/actions/bazel-test
162
162
with :
163
- query : attr(tags, firefox, tests(//java/...)) except attr(tags, remote, tests(//java/...))
163
+ query : attr(tags, firefox, tests(//java/...)) except attr(tags, 'rc| remote' , tests(//java/...))
164
164
env :
165
165
DISPLAY : :99
166
166
@@ -196,7 +196,40 @@ jobs:
196
196
- name : Run server tests
197
197
uses : ./.github/actions/bazel-test
198
198
with :
199
- query : tests(//java/...) except attr(tags, 'lint|ie|edge|edgehtml|safari', tests(//java/...))
199
+ query : tests(//java/...) except attr(tags, 'rc|lint|ie|edge|edgehtml|safari', tests(//java/...))
200
+ env :
201
+ DISPLAY : :99
202
+
203
+ rc_tests :
204
+ needs : small_tests
205
+ runs-on : ubuntu-latest
206
+ steps :
207
+ - name : Checkout source tree
208
+ uses : actions/checkout@v2
209
+ - name : Cache Bazel artifacts
210
+ uses : actions/cache@v2
211
+ with :
212
+ path : |
213
+ ~/.cache/bazel-disk
214
+ ~/.cache/bazel-repo
215
+ key : ${{ runner.os }}-bazel-firefox-tests-${{ hashFiles('**/BUILD.bazel') }}
216
+ restore-keys : |
217
+ ${{ runner.os }}-bazel-firefox-tests-
218
+ ${{ runner.os }}-bazel-build-
219
+ - name : Setup bazelisk
220
+ uses : ./.github/actions/setup-bazelisk
221
+ - name : Setup Java
222
+ uses : actions/setup-java@v1
223
+ with :
224
+ java-version : ' 11'
225
+ - name : Setup Firefox and GeckoDriver
226
+ uses : ./.github/actions/setup-firefox
227
+ - name : Start XVFB
228
+ run : Xvfb :99 &
229
+ - name : Run browser tests in Firefox
230
+ uses : ./.github/actions/bazel-test
231
+ with :
232
+ query : attr(tags, rc, tests(//java/...))
200
233
env :
201
234
DISPLAY : :99
202
235
0 commit comments