Skip to content

Commit

Permalink
不依赖 docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
limingxinleo committed Dec 23, 2024
1 parent b7c0e0b commit 67b146f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ unit:
DOCKER_TLS_CERTDIR: ""
DOCKER_DRIVER: overlay2
script:
- DOCKERFILE=unit.Dockerfile docker-compose up -d --remove-orphans --build
- DOCKERFILE=unit.Dockerfile docker compose up -d --remove-orphans --build
- sleep 30
- docker exec $(basename $(pwd))-hyperf-1 go test ./... -v
after_script:
- docker-compose down
- docker compose down
tags:
- unit

Expand Down

0 comments on commit 67b146f

Please sign in to comment.