Skip to content

Commit

Permalink
max-parallel=2
Browse files Browse the repository at this point in the history
  • Loading branch information
funky-eyes committed Sep 19, 2024
1 parent be0b722 commit f34364b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
17 changes: 16 additions & 1 deletion .github/workflows/test-ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
options: --health-cmd="curl -f http://localhost:8848/nacos" --health-interval=10s --health-timeout=5s --health-retries=3 --health-start-period=30s
runs-on: "${{ matrix.os }}-latest"
strategy:
max-parallel: 2
max-parallel: 3
fail-fast: false
matrix:
java: [ 8, 11, 17, 21 ]
Expand Down Expand Up @@ -66,8 +66,23 @@ jobs:
# job 2
test-springboot3x:
name: "test-springboot3.x"
services:
redis:
image: redis:7.2
ports:
- 6379:6379
options: --health-cmd="redis-cli ping" --health-interval=10s --health-timeout=5s --health-retries=3
nacos:
image: nacos/nacos-server:v2.4.2
ports:
- 8848:8848
env:
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: "${{ matrix.os }}-latest"
strategy:
max-parallel: 3
fail-fast: false
matrix:
java: [ 17, 21 ]
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
name: "test"
runs-on: "${{ matrix.os }}-latest"
strategy:
max-parallel: 2
max-parallel: 3
fail-fast: false
matrix:
java: [ 8, 11, 17, 21 ]
Expand Down Expand Up @@ -71,6 +71,7 @@ jobs:
name: "test-springboot3.x"
runs-on: "${{ matrix.os }}-latest"
strategy:
max-parallel: 3
fail-fast: false
matrix:
java: [ 17, 21 ]
Expand Down

0 comments on commit f34364b

Please sign in to comment.