diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 1b97e234f..20958f5c1 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -33,15 +33,15 @@ jobs: with: virtualenvs-create: true virtualenvs-in-project: true - # #---------------------------------------------- - # # load cached venv if cache exists #! This Breaks Stuff - # #---------------------------------------------- - # - name: Load cached venv - # id: cached-poetry-dependencies - # uses: actions/cache@v2 - # with: - # path: .venv - # key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }} + #---------------------------------------------- + # load cached venv if cache exists #! This Breaks Stuff + #---------------------------------------------- + - name: Load cached venv + id: cached-poetry-dependencies + uses: actions/cache@v2 + with: + path: .venv + key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }} #---------------------------------------------- # install dependencies if cache does not exist #---------------------------------------------- @@ -53,4 +53,4 @@ jobs: #---------------------------------------------- - name: Run tests run: | - poetry run pytest + make test-all