File tree Expand file tree Collapse file tree 1 file changed +13
-8
lines changed Expand file tree Collapse file tree 1 file changed +13
-8
lines changed Original file line number Diff line number Diff line change 10
10
branches : [ master ]
11
11
12
12
jobs :
13
- build :
14
-
13
+ build-jdk :
15
14
runs-on : ubuntu-latest
16
-
15
+ strategy :
16
+ matrix :
17
+ # Use both LTS releases and latest one
18
+ jdk : [ 8, 13 ]
17
19
steps :
18
- - uses : actions/checkout@v2
19
- - name : Set up OpenJDK 13
20
+ - name : Checkout repo
21
+ uses : actions/checkout@v2
22
+ - name : Set up OpenJDK
20
23
uses : actions/setup-java@v1
21
24
with :
22
- java-version : 13
25
+ java-version : ${{ matrix.jdk }}
23
26
- name : Pull elasticsearch image from docker
24
27
run : docker pull elasticsearch:7.9.3
25
28
- name : Create and run elasticsearch container
34
37
run : chmod +x gradlew
35
38
- name : Build with Gradle
36
39
run : ./gradlew -Ptravis clean check jacocoTestReport
37
- - name : Coverall
38
- run : ./gradlew coveralls
40
+ - name : Codecov
41
+ uses : codecov/codecov-action@v1
42
+ with :
43
+ files : ./build/reports/jacoco/test/jacocoTestReport.xml # optional
39
44
You can’t perform that action at this time.
0 commit comments