Fakultas Ilmu Komputer UI

Commit f2fdc16d authored by Muhammad Ilham Peruzzi's avatar Muhammad Ilham Peruzzi
Browse files

add coverage

parent 23b3530f
Pipeline #27356 failed with stages
in 4 minutes and 2 seconds
......@@ -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/
......@@ -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
......
Supports Markdown
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