Skip to content
Snippets Groups Projects
Commit ce734175 authored by inso's avatar inso
Browse files

Test coverage in gitlab

parent 29c60781
No related branches found
No related tags found
No related merge requests found
...@@ -40,25 +40,16 @@ push_to_github: ...@@ -40,25 +40,16 @@ push_to_github:
- export DISPLAY=:99 - export DISPLAY=:99
build: &build build_and_test: &build_and_test
<<: *env <<: *env
stage: build stage: build_and_test
script: script:
- pip install wheel - pip install wheel
- pip install pytest-cov
- pip install -r requirements.txt - pip install -r requirements.txt
- python gen_resources.py - python gen_resources.py
- python gen_translations.py --lrelease - python gen_translations.py --lrelease
- python setup.py bdist_wheel - python setup.py bdist_wheel
- py.test
test:
<<: *env
stage: test
script:
- pip install coveralls
- pip install -r requirements.txt
- python gen_resources.py
- python gen_translations.py --lrelease
- py.test --cov=sakia tests/ - py.test --cov=sakia tests/
releases: releases:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment