Skip to content

Commit fc397a8

Browse files
committed
ci: don't install redis on windows
1 parent c51463a commit fc397a8

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

.github/workflows/integration-tests.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -63,15 +63,6 @@ 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-
7566
steps:
7667
- name: Checkout code
7768
uses: actions/checkout@v4
@@ -91,6 +82,10 @@ jobs:
9182
- name: Install dependencies
9283
run: composer update --${{ matrix.stability }} --prefer-dist --no-interaction
9384

85+
- name: 'Setup Redis'
86+
if: ${{ matrix.os != 'windows-latest' }}
87+
uses: supercharge/[email protected]
88+
9489
- name: 'Setup MySQL'
9590
if: ${{ matrix.database == 'mysql' }}
9691
uses: ankane/setup-mysql@v1

0 commit comments

Comments
 (0)