From 40e8300e469a39c50f87c2bd78c7cc1de7e0ad90 Mon Sep 17 00:00:00 2001 From: Mawoka Date: Sat, 16 Apr 2022 15:03:38 +0200 Subject: [PATCH] :bug: Fixed tests (1st time) --- .github/workflows/pytest.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 2c18d03..dcea649 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -29,6 +29,8 @@ jobs: echo ${{ secrets.DOTENV }} | base64 --decode > .env set -o allexport; source .env; set +o allexport mkdir /tmp/storage/ + pipenv run python init_db.py + docker run --rm -d -p 6379:6379 --name test_redis redis:alpine - name: Run tests run: | pipenv run coverage run -m pytest --asyncio-mode=strict classquiz/tests