From 64d11c4457f4248f77fcc3c80ce4adbeb33ca4c4 Mon Sep 17 00:00:00 2001 From: Alex Renoki Date: Thu, 13 Aug 2020 16:32:46 +0300 Subject: [PATCH] Added redis as service --- .github/workflows/run-tests.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index f019de0..1190132 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -5,6 +5,12 @@ on: [push, pull_request] jobs: test: runs-on: ${{ matrix.os }} + services: + redis: + image: redis:${{ matrix.redis }} + ports: + - 6379:6379 + options: --entrypoint redis-server strategy: fail-fast: false matrix: @@ -25,11 +31,6 @@ jobs: - name: Checkout code uses: actions/checkout@v1 - - name: Setup Redis ${{ matrix.redis }} - uses: supercharge/redis-github-action@1.1.0 - with: - redis-version: ${{ matrix.redis }} - - name: Cache dependencies uses: actions/cache@v1 with: