Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Naoray committed Jan 13, 2025
1 parent b6e36b3 commit 252b882
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,18 @@ jobs:
test:
runs-on: ${{ matrix.os }}
timeout-minutes: 5

services:
redis:
image: redis
ports:
- 6379:6379
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
strategy:
fail-fast: true
matrix:
Expand All @@ -34,6 +46,7 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: redis
coverage: none

- name: Setup problem matchers
Expand All @@ -51,3 +64,6 @@ jobs:

- name: Execute tests
run: vendor/bin/pest --ci
env:
REDIS_HOST: localhost
REDIS_PORT: 6379

0 comments on commit 252b882

Please sign in to comment.