Fakultas Ilmu Komputer UI

Commit 3bd87c68 authored by Izzatul Muttaqin's avatar Izzatul Muttaqin
Browse files

Buat git ci script untuk test

parent 26636921
Pipeline #28143 failed with stages
in 2 minutes and 46 seconds
......@@ -3,20 +3,19 @@ stages:
- functional_test
- deploy
UnitTest:
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
......
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