Commit 47c1a78c authored by Ruben Young On's avatar Ruben Young On

Changed cov command to test:py:cov

parent 11fe6114
......@@ -53,7 +53,7 @@ test_py:
<<: *python_packages
stage: test
script:
- yarn cov
- yarn test:py:cov
artifacts:
paths:
- cov.html/
......
......@@ -17,7 +17,7 @@
"migrate:dev": "ZESJE_SETTINGS=$(pwd)/zesje.dev.cfg FLASK_APP=zesje/__init__.py flask db upgrade",
"migrate": "FLASK_APP=zesje/__init__.py flask db upgrade",
"prepare-migration": "ZESJE_SETTINGS=$(pwd)/zesje.dev.cfg FLASK_APP=zesje/__init__.py flask db migrate",
"cov": "python3 -m pytest -v -W error::RuntimeWarning --cov=zesje --cov-report=xml:cov.xml --cov-report=html:cov.html --cov-report=term tests/",
"test:py:cov": "python3 -m pytest -v -W error::RuntimeWarning --cov=zesje --cov-report=xml:cov.xml --cov-report=html:cov.html --cov-report=term tests/",
"migrate-down": "FLASK_APP=zesje/__init__.py flask db downgrade"
},
"standard": {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment