File tree 1 file changed +34
-0
lines changed
1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ name : Concurrent Search UTs and ITs
3
+
4
+ on :
5
+ schedule :
6
+ - cron : ' 0 */4 * * *' # every 4 hours
7
+ workflow_dispatch : # on button click
8
+
9
+ jobs :
10
+ build :
11
+ runs-on : ${{ matrix.os }}
12
+ strategy :
13
+ matrix :
14
+ os : [ubuntu-latest] # precommit on ubuntu-latest is run as a part of the gradle-check workflow
15
+ steps :
16
+ - uses : actions/checkout@v2
17
+ - name : Set up JDK 11
18
+ if : always()
19
+ uses : actions/setup-java@v2
20
+ with :
21
+ java-version : 11
22
+ distribution : adopt
23
+ - name : Build the repo
24
+ if : always()
25
+ run : |
26
+ ./gradlew assemble -x :distribution:docker:buildArm64DockerImage -x :distribution:docker:buildDockerImage -x :distribution:docker:buildPpc64leDockerImage -x :distribution:docker:docker-export:exportDockerImage -x :distribution:docker:buildS390xDockerImage -x :distribution:docker:docker-ppc64le-export:exportDockerImage -x :distribution:docker:docker-s390x-export:exportDockerImage
27
+ - name : Run Gradle unit tests
28
+ if : always()
29
+ run : |
30
+ ./gradlew test -Dopensearch.experimental.feature.concurrent_segment_search.enabled=true
31
+ - name : Run Gradle integration tests
32
+ if : always()
33
+ run : |
34
+ ./gradlew internalClusterTest --parallel -Dopensearch.experimental.feature.concurrent_segment_search.enabled=true
You can’t perform that action at this time.
0 commit comments