Skip to content

Commit 20059c4

Browse files
committed
Refactored Gradle workflow by removing Redis service configuration
1 parent 45d5447 commit 20059c4

File tree

1 file changed

+10
-22
lines changed

1 file changed

+10
-22
lines changed

.github/workflows/gradle-all.yml

Lines changed: 10 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -8,26 +8,14 @@ on:
88
jobs:
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

0 commit comments

Comments
 (0)