Skip to content

Commit c51463a

Browse files
committed
ci: update how redis is installed
1 parent 54e0377 commit c51463a

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/integration-tests.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,15 @@ jobs:
6363

6464
name: "Run tests: PHP ${{ matrix.php }} - ${{ matrix.database }} - ${{ matrix.stability }} - ${{ matrix.os }}"
6565

66+
services:
67+
redis:
68+
image: redis
69+
options: >-
70+
--health-cmd "redis-cli ping"
71+
--health-interval 10s
72+
--health-timeout 5s
73+
--health-retries 5
74+
6675
steps:
6776
- name: Checkout code
6877
uses: actions/checkout@v4
@@ -82,9 +91,6 @@ jobs:
8291
- name: Install dependencies
8392
run: composer update --${{ matrix.stability }} --prefer-dist --no-interaction
8493

85-
- name: 'Setup Redis'
86-
uses: supercharge/[email protected]
87-
8894
- name: 'Setup MySQL'
8995
if: ${{ matrix.database == 'mysql' }}
9096
uses: ankane/setup-mysql@v1

0 commit comments

Comments
 (0)