Skip to content

Commit 859d499

Browse files
committed
feat: update GitLab CI configuration for test stage
1 parent e9ae754 commit 859d499

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.gitlab-ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,10 @@ analyse:
2121
before_script:
2222
- php -v
2323
- composer --version
24-
- cd $CI_PROJECT_DIR
24+
- if [ ! -d "$CI_PROJECT_DIR/.git" ]; then
25+
git clone "$CI_REPOSITORY_URL" "$CI_PROJECT_DIR";
26+
fi
27+
- cd "$CI_PROJECT_DIR"
2528
script:
2629
- composer install --prefer-dist --no-progress
2730
- composer a

0 commit comments

Comments
 (0)