Fix: is no longer needed thanks to WORKDIR
This commit is contained in:
parent
2dd31a86a9
commit
e2162a242f
2 changed files with 0 additions and 2 deletions
|
@ -10,7 +10,6 @@ def run_migrate(args):
|
||||||
command = args[1]
|
command = args[1]
|
||||||
|
|
||||||
result = _operation(command,[
|
result = _operation(command,[
|
||||||
"cd service",
|
|
||||||
"export FLASK_APP=files/cli:app",
|
"export FLASK_APP=files/cli:app",
|
||||||
f"python3 -m flask db {command}",
|
f"python3 -m flask db {command}",
|
||||||
])
|
])
|
||||||
|
|
|
@ -5,7 +5,6 @@ from common import _operation
|
||||||
|
|
||||||
def run_test(args):
|
def run_test(args):
|
||||||
result = _operation("tests",[
|
result = _operation("tests",[
|
||||||
"cd service",
|
|
||||||
"FLASK_APP=files/cli:app python3 -m flask db upgrade",
|
"FLASK_APP=files/cli:app python3 -m flask db upgrade",
|
||||||
"python3 -m pytest -s",
|
"python3 -m pytest -s",
|
||||||
])
|
])
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue