From f00103b52187b082734f0dac89fbce3625d3641d Mon Sep 17 00:00:00 2001 From: Dmitriy Lyalyuev Date: Tue, 15 Nov 2022 16:25:05 +0300 Subject: [PATCH] trying to fix redis start --- .github/workflows/build.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 892abf8..5a34438 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -8,7 +8,6 @@ on: jobs: tests: runs-on: ubuntu-latest - steps: - name: Checkout uses: actions/checkout@v3 @@ -24,13 +23,15 @@ jobs: pip install -r requirements.txt pip install coverage coveralls + - name: Start Redis v5 + uses: superchargejs/redis-github-action@1.1.0 + with: + redis-version: ${{ matrix.redis-version }} + - name: Run Tests env: REDIS_URL: redis://redis:6379/0 run: | - apt-get update - apt-get install -y redis-server - service redis-server start python manage.py collectstatic --noinput python manage.py migrate --noinput python manage.py test --noinput