From c033956f8872faf6a6ca988e38781b60a0cf69b9 Mon Sep 17 00:00:00 2001 From: Chris Kankiewicz Date: Tue, 23 Feb 2021 21:41:28 -0700 Subject: [PATCH] Converted redis to a service in CI --- .github/workflows/test-suite.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test-suite.yaml b/.github/workflows/test-suite.yaml index e81b560..ef005a0 100644 --- a/.github/workflows/test-suite.yaml +++ b/.github/workflows/test-suite.yaml @@ -6,6 +6,11 @@ jobs: name: PHP Checks & Tests runs-on: 'ubuntu-latest' + services: + redis: + image: redis:6.2 + options: --health-cmd "redis-cli ping" --health-interval=10s --health-timeout=5s --health-retries=3 + strategy: matrix: php-versions: ['7.2', '7.3', '7.4', '8.0'] @@ -32,11 +37,6 @@ jobs: key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} restore-keys: ${{ runner.os }}-composer- - - name: Start Redis - uses: supercharge/redis-github-action@1.2.0 - with: - redis-version: 6 - - name: Validate Composer Files run: composer validate