From c3a42d8915045af2ff4be90ecbde55bdba038632 Mon Sep 17 00:00:00 2001 From: Mawoka Date: Sat, 9 Apr 2022 11:49:33 +0200 Subject: [PATCH] :construction_worker: 5th time fixing pytest --- .github/workflows/pytest.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index f3686d2..df09fe8 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -26,9 +26,12 @@ jobs: python-version: "3.10" cache: 'pipenv' - run: pipenv install --dev - - run: echo ${{ secrets.DOTENV }} | base64 --decode > .env - - run: set -o allexport; source .env; set +o allexport - - name: Prepare test environment + - name: Prepare tests + run: | + echo ${{ secrets.DOTENV }} | base64 --decode > .env + set -o allexport; source .env; set +o allexport + mkdir /tmp/storage/ + - name: Run tests run: | pipenv run coverage run -m pytest --asyncio-mode=strict classquiz/tests pipenv run coverage xml