add lint/black tests

This commit is contained in:
hay-kot 2021-04-30 09:07:59 -08:00
commit a52640d6da

View file

@ -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