Skip to content

Commit 9f7165b

Browse files
committed
increase ci timeouts
1 parent d416814 commit 9f7165b

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/phpunit.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@ jobs:
4141
DOCKER_BUILDKIT: '1'
4242
COMPOSE_DOCKER_CLI_BUILD: '1'
4343
SERVICES_NAME: "app.php mysql80"
44-
run: docker-compose up -d $SERVICES_NAME
45-
timeout-minutes: 1
44+
run: docker-compose up --force-recreate -d $SERVICES_NAME
45+
timeout-minutes: 3
4646

4747
- name: Wait for all services to become healthy
4848
run: for SVC in "app.php" "mysql80"; do while [ "\"healthy\"" != "$(docker inspect --format '{{json .State.Health.Status }}' ${SVC})" ];do docker-compose ps && sleep 5; done; done
49-
timeout-minutes: 2
49+
timeout-minutes: 3
5050

5151
- name: Sleep
5252
run: sleep 4

.github/workflows/phpunit82.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,12 @@ jobs:
7373
DOCKER_BUILDKIT: '1'
7474
COMPOSE_DOCKER_CLI_BUILD: '1'
7575
SERVICES_NAME: "app.php82 mysql80"
76-
run: docker-compose up -d $SERVICES_NAME
77-
timeout-minutes: 2
76+
run: docker-compose up --force-recreate -d $SERVICES_NAME
77+
timeout-minutes: 3
7878

7979
- name: Wait for all services to become healthy
8080
run: for SVC in "app.php82" "mysql80"; do while [ "\"healthy\"" != "$(docker inspect --format '{{json .State.Health.Status }}' ${SVC})" ];do docker-compose ps && sleep 5; done; done
81-
timeout-minutes: 2
81+
timeout-minutes: 3
8282

8383
- name: Sleep
8484
run: sleep 4

0 commit comments

Comments
 (0)