mirror of
https://github.com/hay-kot/mealie.git
synced 2025-08-22 14:33:33 -07:00
add lint/black tests
This commit is contained in:
parent
38e4d66adf
commit
a52640d6da
1 changed files with 10 additions and 10 deletions
20
.github/workflows/pytest.yml
vendored
20
.github/workflows/pytest.yml
vendored
|
@ -33,15 +33,15 @@ jobs:
|
||||||
with:
|
with:
|
||||||
virtualenvs-create: true
|
virtualenvs-create: true
|
||||||
virtualenvs-in-project: true
|
virtualenvs-in-project: true
|
||||||
# #----------------------------------------------
|
#----------------------------------------------
|
||||||
# # load cached venv if cache exists #! This Breaks Stuff
|
# load cached venv if cache exists #! This Breaks Stuff
|
||||||
# #----------------------------------------------
|
#----------------------------------------------
|
||||||
# - name: Load cached venv
|
- name: Load cached venv
|
||||||
# id: cached-poetry-dependencies
|
id: cached-poetry-dependencies
|
||||||
# uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
# with:
|
with:
|
||||||
# path: .venv
|
path: .venv
|
||||||
# key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}
|
key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}
|
||||||
#----------------------------------------------
|
#----------------------------------------------
|
||||||
# install dependencies if cache does not exist
|
# install dependencies if cache does not exist
|
||||||
#----------------------------------------------
|
#----------------------------------------------
|
||||||
|
@ -53,4 +53,4 @@ jobs:
|
||||||
#----------------------------------------------
|
#----------------------------------------------
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: |
|
run: |
|
||||||
poetry run pytest
|
make test-all
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue