mirror of
https://github.com/hay-kot/mealie.git
synced 2025-08-22 14:33:33 -07:00
disable cache
This commit is contained in:
parent
d761ef44b2
commit
2ac362ff53
2 changed files with 6 additions and 11 deletions
12
.github/workflows/test-all.yml
vendored
12
.github/workflows/test-all.yml
vendored
|
@ -46,12 +46,12 @@ jobs:
|
||||||
#----------------------------------------------
|
#----------------------------------------------
|
||||||
# load cached venv if cache exists
|
# load cached venv if cache exists
|
||||||
#----------------------------------------------
|
#----------------------------------------------
|
||||||
- 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
|
||||||
#----------------------------------------------
|
#----------------------------------------------
|
||||||
|
|
|
@ -49,11 +49,6 @@ def test_non_default_settings(monkeypatch):
|
||||||
assert app_settings.DOCS_URL is None
|
assert app_settings.DOCS_URL is None
|
||||||
|
|
||||||
|
|
||||||
def test_default_connection_args():
|
|
||||||
app_settings = AppSettings()
|
|
||||||
assert re.match(r"sqlite:////.*mealie/dev/data/mealie_v0.5.0.db", app_settings.DB_URL)
|
|
||||||
|
|
||||||
|
|
||||||
def test_default_connection_args(monkeypatch):
|
def test_default_connection_args(monkeypatch):
|
||||||
monkeypatch.setenv("DB_ENGINE", "sqlite")
|
monkeypatch.setenv("DB_ENGINE", "sqlite")
|
||||||
app_settings = AppSettings()
|
app_settings = AppSettings()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue