Skip to content

Commit b0363fd

Browse files
committed
Add javadoc generation job to GitHub Actions
1 parent af7e5fb commit b0363fd

File tree

2 files changed

+26
-2
lines changed

2 files changed

+26
-2
lines changed

.github/workflows/java.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,3 +194,29 @@ jobs:
194194
query: tests(//java/server/...) except attr(tags, 'lint|ie|edge|edgehtml|safari', tests(//java/server/...))
195195
env:
196196
DISPLAY: :99
197+
198+
javadoc:
199+
needs: build
200+
runs-on: ubuntu-latest
201+
steps:
202+
- name: Checkout source tree
203+
uses: actions/checkout@v1
204+
- name: Cache Bazel artifacts
205+
uses: actions/cache@v2
206+
with:
207+
path: |
208+
~/.cache/bazel-disk
209+
~/.cache/bazel-repo
210+
key: ${{ runner.os }}-bazel-firefox-tests-${{ hashFiles('**/BUILD.bazel') }}
211+
restore-keys: |
212+
${{ runner.os }}-bazel-firefox-tests-
213+
${{ runner.os }}-bazel-build-
214+
- name: Setup bazelisk
215+
uses: ./.github/actions/setup-bazelisk
216+
- name: Setup Java
217+
uses: actions/setup-java@v1
218+
with:
219+
java-version: '11'
220+
- name: Generate javadoc
221+
run: |
222+
./go --verbose javadocs

.travis.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,6 @@ matrix:
6767
- env: CHROME=1 BZL="test --test_tag_filters=chrome //javascript/atoms/... //javascript/selenium-atoms/... //javascript/webdriver/... //javascript/chrome-driver/..."
6868
<<: *java
6969
<<: *chrome
70-
- env: TASK=javadocs
71-
<<: *java
7270
- env: TOXENV=flake8
7371
<<: *python
7472
python: 3.7

0 commit comments

Comments
 (0)