Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
go
Commits
9c1598e0
Commit
9c1598e0
authored
Aug 28, 2016
by
David Haynes
Browse files
Correct coverage percentage is shown now
- ok I think it works
parent
6347d1f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
9c1598e0
...
...
@@ -33,6 +33,6 @@ test_Go:
-
echo "from django.contrib.auth import get_user_model; User = get_user_model(); User.objects.create_superuser('root', 'root@srct.gmu.edu', 'root') " | python ./manage.py shell
script
:
-
cd ..
-
coverage run ./go/manage.py test
-
coverage html
--include=go/*.*
-
coverage run
--source=go
./go/manage.py test
-
coverage html
-
grep pc_cov htmlcov/index.html | egrep -o "[0-9]+\%" | awk '{ print "covered " $1;}'
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment