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
1606837915-practice
Commits
3bd87c68
Commit
3bd87c68
authored
Dec 23, 2019
by
Izzatul Muttaqin
Browse files
Buat git ci script untuk test
parent
26636921
Pipeline
#28143
failed with stages
in 2 minutes and 46 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
3bd87c68
...
...
@@ -3,20 +3,19 @@ stages:
-
functional_test
-
deploy
Unit
Test
:
Test
:
image
:
python:3.6
stage
:
test
before_script
:
-
pip3 install --upgrade pip
-
pip3 install -r requirements.txt
-
pip3 install requests
-
pip3 install django-environ
script
:
-
python3 manage.py makemigrations
-
python3 manage.py migrate
-
python3 manage.py runserver 8000 &
when
:
on_success
script
:
-
coverage run manage.py test practice
-
coverage report -m
-
python3 manage.py test excercise1
tags
:
-
test
TestFunctional
:
image
:
python:3.6
...
...
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