From a52640d6da1a1e5250063161fab44a1452987810 Mon Sep 17 00:00:00 2001 From: hay-kot Date: Fri, 30 Apr 2021 09:07:59 -0800 Subject: [PATCH] add lint/black tests --- .github/workflows/pytest.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) 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