chore: update
Java CI with Maven / build-and-test (pull_request) Failing after 8m2s

This commit is contained in:
TakahashiNg
2026-04-15 07:49:47 +00:00
parent 7906bb4ce9
commit dc755b3989
+2 -3
View File
@@ -46,7 +46,7 @@ jobs:
run: |
# 1. Tạo mạng Docker nếu chưa tồn tại
docker network create ${DOCKER_NET} || true
docker run -d --name postgres-it --network ${DOCKER_NET} -e POSTGRES_PASSWORD=password postgres || true
docker run -d --name redis-it --network ${DOCKER_NET} redis || true
@@ -58,8 +58,7 @@ jobs:
./mvnw -B verify \
-Dquarkus.container-image.push=false \
-Dquarkus.test.container.network=${DOCKER_NET} \
-Dquarkus.datasource.jdbc.url=jdbc:postgresql://postgres-it:5432/postgres \
-Dquarkus.redis.hosts=redis://redis-it:6379
-Dquarkus.test.arg-line="-Dquarkus.datasource.jdbc.url=jdbc:postgresql://postgres-it:5432/postgres -Dquarkus.redis.hosts=redis://redis-it:6379"
- name: Clean up Docker containers
if: always()