mirror of
https://gitlab.com/mobicoop/v3/service/user.git
synced 2026-01-11 17:02:40 +00:00
fix ci --check
This commit is contained in:
@@ -18,9 +18,9 @@ test-api-dev:
|
||||
services:
|
||||
- docker:dind
|
||||
script:
|
||||
- docker-compose -f docker-compose.ci.yml up -d
|
||||
- docker-compose -f docker-compose.ci.yml --env-file .env.test up -d
|
||||
- sh ci/wait-up.sh
|
||||
- docker-compose -f docker-compose.ci.yml logs
|
||||
- docker-compose -f docker-compose.ci.yml --env-file .env.test logs
|
||||
- docker exec -t v3-user sh -c "npm run test"
|
||||
rules:
|
||||
- if: '$CI_MERGE_REQUEST_TARGET_BRANCH_NAME == $CI_DEFAULT_BRANCH || $CI_COMMIT_MESSAGE =~ /--check/ || $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
|
||||
|
||||
Reference in New Issue
Block a user