Commit f2d2c32a authored by Ruben Young On's avatar Ruben Young On

Python tests are no separate stage in the CI

Slightly changed yarn cov command
parent 8541fef5
......@@ -35,11 +35,6 @@ test_js:
stage: test
script: yarn test:js
<<: *python_packages
stage: test
script: yarn test:py
<<: *node_modules
stage: test
......@@ -53,7 +48,7 @@ lint_py:
allow_failure: true
- yarn lint:py
<<: *python_packages
stage: test
......@@ -17,7 +17,7 @@
"migrate:dev": "ZESJE_SETTINGS=$(pwd)/ FLASK_APP=zesje/ flask db upgrade",
"migrate": "FLASK_APP=zesje/ flask db upgrade",
"prepare-migration": "ZESJE_SETTINGS=$(pwd)/ FLASK_APP=zesje/ flask db migrate",
"cov": "python -m pytest --cov=zesje --cov-report=xml:cov.xml --cov-report=html:cov.html --cov-report=term tests/",
"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/ 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