Fakultas Ilmu Komputer UI
Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
PMPL
Collection of Practice
2019
1606823475-practice
Commits
f2fdc16d
Commit
f2fdc16d
authored
Dec 20, 2019
by
Muhammad Ilham Peruzzi
Browse files
add coverage
parent
23b3530f
Pipeline
#27356
failed with stages
in 4 minutes and 2 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitignore
View file @
f2fdc16d
...
...
@@ -5,4 +5,16 @@ geckodriver.log
chromedriver
chromedriver.exe
/static
.env
\ No newline at end of file
.env
# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
.cache
.pytest_cache/
nosetests.xml
coverage.xml
*.cover
.hypothesis/
.gitlab-ci.yml
View file @
f2fdc16d
...
...
@@ -9,11 +9,14 @@ Test:
before_script
:
-
pip3 install --upgrade pip
-
pip3 install -r requirements.txt
script
:
-
python3 manage.py makemigrations
-
python3 manage.py migrate
-
python3 manage.py test lists
-
python3 manage.py test accounts
-
python3 manage.py collectstatic --no-input
when
:
on_success
script
:
-
coverage run --omit='manage.py, functional_tests/*' manage.py test lists accounts --reverse
-
coverage report -m
tags
:
-
test
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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