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
Pipeline #17789 passed with stages
in 2 minutes and 52 seconds
......@@ -35,11 +35,6 @@ test_js:
stage: test
script: yarn test:js
test_py:
<<: *python_packages
stage: test
script: yarn test:py
lint_js:
<<: *node_modules
stage: test
......@@ -53,7 +48,7 @@ lint_py:
allow_failure: true
script:
- yarn lint:py
cov:
<<: *python_packages
stage: test
......
......@@ -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": "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/__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