Skip to content

Commit

Permalink
attempt 1
Browse files Browse the repository at this point in the history
  • Loading branch information
Pil0tXia committed Apr 19, 2024
1 parent 4494f0a commit 51fcaa5
Showing 1 changed file with 27 additions and 1 deletion.
28 changes: 27 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,29 @@ jobs:
- 3306:3306
# Set health checks to wait until MySQL has started
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
meta:
image: nacos/nacos-server:2.3.2
env:
MODE: standalone
ports:
- 8848:8848
options: >
--health-cmd="curl -X GET "http://localhost:8848/nacos/v1/cs/configs?dataId=*&group=&search=blur&pageNo=1&pageSize=10""
--health-interval=10s --health-timeout=5s --health-retries=3
store-namesrv:
image: apache/rocketmq:4.9.7
ports:
- 9876:9876
options: |
sh mqnamesrv
--health-cmd="./mqadmin clusterList -n localhost:9876" --health-interval=10s --health-timeout=5s --health-retries=3
store-broker:
image: apache/rocketmq:4.9.7
ports:
- 9876:9876
options: |
sh mqbroker -n localhost:9876
--health-cmd="./mqadmin clusterList -n localhost:9876" --health-interval=10s --health-timeout=5s --health-retries=3
steps:
- name: Checkout repository
Expand All @@ -61,4 +84,7 @@ jobs:
cache: maven

- name: Build with Maven
run: ./mvnw -B package --file pom.xml
run: ./mvnw -B package -DskipTests --file pom.xml

- name: Run Unit Tests
run: ./mvnw -B test --file pom.xml

0 comments on commit 51fcaa5

Please sign in to comment.