File tree Expand file tree Collapse file tree 1 file changed +10
-22
lines changed
Expand file tree Collapse file tree 1 file changed +10
-22
lines changed Original file line number Diff line number Diff line change 88jobs :
99 compile-and-test :
1010 runs-on : ubuntu-latest
11- services :
12- redis :
13- image : redis:7
14- ports :
15- - 6379:6379
16- options : >-
17- --health-cmd "redis-cli ping"
18- --health-interval 10s
19- --health-timeout 5s
20- --health-retries 5
2111 steps :
22- - name : ' Checkout'
23- uses : actions/checkout@v2
24- env :
25- REDIS_URL : redis://localhost:6379
26- - name : ' Set up JDK 11'
27- uses : actions/setup-java@v1
28- with :
29- java-version : 11
30- - name : ' Grant execute permission for gradlew'
31- run : chmod +x gradlew
32- - name : ' Gradle: compile and run unit tests'
33- run : ./gradlew test
12+ - name : ' Checkout'
13+ uses : actions/checkout@v2
14+ - name : ' Set up JDK 11'
15+ uses : actions/setup-java@v1
16+ with :
17+ java-version : 11
18+ - name : ' Grant execute permission for gradlew'
19+ run : chmod +x gradlew
20+ - name : ' Gradle: compile and run unit tests'
21+ run : ./gradlew test
You can’t perform that action at this time.
0 commit comments