Skip to content

Commit 7680e89

Browse files
author
Davide Fantuzzi
committed
Fixed wrong command on Build step
1 parent 1509a99 commit 7680e89

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

.editorconfig

+3
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,6 @@ indent_size = 4
77
indent_style = space
88
insert_final_newline = true
99
trim_trailing_whitespace = true
10+
11+
[*.yml]
12+
indent_size = 2

.github/workflows/php-ci.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,19 @@ jobs:
2222
- name: "Build"
2323
run: |
2424
docker build . \
25-
&& docker-compose -f docker/docker-compose.yml \
26-
&& build --parallel && docker-compose build
25+
&& docker-compose -f docker/docker-compose.yml build --parallel \
26+
&& docker-compose build
2727
- name: "Static Analysis"
2828
run: |
2929
docker run php-neo4j:static-analysis tools/php-cs-fixer/vendor/bin/php-cs-fixer fix --dry-run \
30-
&& docker run php-neo4j:static-analysis tools/psalm/vendor/bin/psalm --show-info=true
30+
&& docker run php-neo4j:static-analysis tools/psalm/vendor/bin/psalm --show-info=true
3131
- name: "Test"
3232
run: |
3333
docker-compose -f docker/docker-compose.yml -p $BRANCH_NAME down --volumes --remove-orphans \
34-
&& docker-compose -f docker/docker-compose.yml -p $BRANCH_NAME up -d --force-recreate --remove-orphans \
35-
&& sleep 30' // Wait for the servers to complete bootin \
36-
&& docker-compose -f docker/docker-compose.yml -p $BRANCH_NAME run client-80 php vendor/bin/phpunit \
37-
&& docker-compose -f docker/docker-compose.yml -p $BRANCH_NAME run client-74 php vendor/bin/phpunit
34+
&& docker-compose -f docker/docker-compose.yml -p $BRANCH_NAME up -d --force-recreate --remove-orphans \
35+
&& sleep 30' // Wait for the servers to complete bootin \
36+
&& docker-compose -f docker/docker-compose.yml -p $BRANCH_NAME run client-80 php vendor/bin/phpunit \
37+
&& docker-compose -f docker/docker-compose.yml -p $BRANCH_NAME run client-74 php vendor/bin/phpunit
3838
- name: "Coverage"
3939
run: |
4040
docker-compose -f docker/docker-compose.yml -p $BRANCH_NAME run client bash -c "\

0 commit comments

Comments
 (0)