Skip to content
Snippets Groups Projects
Commit 70677b26 authored by Piotr Maślanka's avatar Piotr Maślanka
Browse files

coverage fixed

parent 84ef8394
No related branches found
No related tags found
No related merge requests found
Pipeline #284 passed with stages
in 52 seconds
...@@ -10,14 +10,15 @@ build: ...@@ -10,14 +10,15 @@ build:
- master - master
unit_tests: unit_tests:
stage: test stage: test
coverage: /^TOTAL\s+\d+\s+\d+\s+\d+\s+\d+\s+(\d+)%$/
script: script:
- python setup.py nosetests - nosetests --with-coverage
# vagrant_backed_tests # vagrant_backed_tests
# stage: test # stage: test
# script: # script:
# - vagrant ssh -c 'sudo shutdown -P +10' # - vagrant ssh -c 'sudo shutdown -P +10'
# - vagrant ssh -c 'cd /vagrant; python setup.py nosetests' # - vagrant ssh -c 'cd /vagrant; nosetests --with-coverage'
# before_script: # before_script:
# - vagrant up # - vagrant up
# after_script: # after_script:
......
...@@ -28,10 +28,7 @@ This is a generic scaffold for Python projects that use: ...@@ -28,10 +28,7 @@ This is a generic scaffold for Python projects that use:
Vagrant environment Vagrant environment
13. Set up a repository on GitLab 13. Set up a repository on GitLab
14. Ensure you have _master_ permission on this repository 14. Ensure you have _master_ permission on this repository
15. Set `^TOTAL\s+\d+\s+\d+\s+\d+\s+\d+\s+(\d+)%$` in 15. `git init`
_Settings>CI/CD Pipelines>Test coverage parsing_ for GitLab to display 16. Add suitable remotes, commit the data, push to repo
test coverage data 17. Done!
16. `git init`
17. Add suitable remotes, commit the data, push to repo
18. Done!
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