Skip to content

Commit

Permalink
optimize: add redis and nacos image
Browse files Browse the repository at this point in the history
  • Loading branch information
funky-eyes committed Sep 18, 2024
1 parent edf9a8c commit 4478a3d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/test-druid.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ on:
branches: [ test*, "*.*.*" ]

jobs:
build:
name: "build"
test-druid:
services:
redis:
image: redis:7.2
Expand All @@ -21,8 +20,6 @@ jobs:
MODE: standalone
SPRING_SECURITY_ENABLED: false
options: --health-cmd="curl -f http://localhost:8848/nacos" --health-interval=10s --health-timeout=5s --health-retries=3 --health-start-period=30s
runs-on: ubuntu-latest
test-druid:
name: "test-druid"
runs-on: ubuntu-latest
strategy:
Expand Down
9 changes: 3 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ on:
push:
branches: [ test*, "*.*.*" ]
jobs:
build:
name: "build"
# job 1
test:
name: "test"
services:
redis:
image: redis:7.2
Expand All @@ -20,10 +21,6 @@ jobs:
MODE: standalone
SPRING_SECURITY_ENABLED: false
options: --health-cmd="curl -f http://localhost:8848/nacos" --health-interval=10s --health-timeout=5s --health-retries=3 --health-start-period=30s
runs-on: ubuntu-latest
# job 1
test:
name: "test"
runs-on: "${{ matrix.os }}-latest"
strategy:
fail-fast: false
Expand Down

0 comments on commit 4478a3d

Please sign in to comment.