From 47c07c442a97d0050272d5d8f9c8ce94f9e8ee5f Mon Sep 17 00:00:00 2001 From: Dmitriy Lyalyuev Date: Tue, 15 Nov 2022 15:45:48 +0300 Subject: [PATCH] trying to fix tests run --- .github/workflows/build.yaml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 465f2dd..892abf8 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -9,15 +9,6 @@ jobs: tests: runs-on: ubuntu-latest - services: - redis: - image: redis - options: >- - --health-cmd "redis-cli ping" - --health-interval 10s - --health-timeout 5s - --health-retries 5 - steps: - name: Checkout uses: actions/checkout@v3 @@ -37,6 +28,9 @@ jobs: 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