From b62f3e6dda788390992b9b19f86519fb3b62f024 Mon Sep 17 00:00:00 2001 From: Alex Root Junior Date: Tue, 15 Jun 2021 00:50:42 +0300 Subject: [PATCH] Change Redis connection --- .github/workflows/tests.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index cc456234..a5fe3f6a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -73,9 +73,10 @@ jobs: - name: Run tests (with Redis) if: ${{ matrix.os != 'windows-latest' }} run: | - poetry run pytest --cov=aiogram --cov-config .coveragerc --cov-report=xml --redis redis://redis:6379/0 + poetry run pytest --cov=aiogram --cov-config .coveragerc --cov-report=xml --redis redis://localhost:6379/0 - name: Run tests (without Redis) + # Redis can't be used on GitHub Windows Runners if: ${{ matrix.os == 'windows-latest' }} run: | poetry run pytest --cov=aiogram --cov-config .coveragerc --cov-report=xml --redis