Fakultas Ilmu Komputer UI

Commit aac07b0b authored by Fakhira Devina's avatar Fakhira Devina
Browse files

[CHORE] fix coverage badge and remove show coverage script

parent d1b8dac9
Pipeline #34181 passed with stages
in 60 minutes and 33 seconds
......@@ -3,7 +3,6 @@ stages:
- test
- sonarqube
- deploy
- show
variables:
APP_NAME: "bisaGo"
......@@ -26,6 +25,7 @@ Test:
- flutter test --machine > tests.output
- flutter test --coverage
- lcov --summary coverage/lcov.info
- genhtml coverage/lcov.info --output=coverage
artifacts:
expire_in: 1 hour
paths:
......@@ -123,21 +123,4 @@ DeployToDevelopment:
- appcenter login --token=$APPCENTER_API_TOKEN
- appcenter distribute release -f build/app/outputs/apk/release/app-release.apk --app $APPCENTER_APP_NAME_DEV --group $APPCENTER_GROUP_TARGET
environment:
name: development
ShowCoverage:
image: alpine
stage: show
dependencies:
- Test
before_script:
- wget --quiet --output-document=flutter.tar.xz https://storage.googleapis.com/flutter_infra/releases/stable/linux/flutter_linux_v1.12.13+hotfix.8-stable.tar.xz && tar xf flutter.tar.xz -C /
- export PATH=$PATH:/flutter/bin
- flutter doctor -v
- flutter packages get
script:
- mkdir -p mobile-coverage/
- mv coverage/* mobile-coverage/
artifacts:
paths:
- $CI_PROJECT_DIR/mobile-coverage/
\ No newline at end of file
name: development
\ No newline at end of file
......@@ -2,7 +2,7 @@
Code Coverage
--------------
[![coverage report](https://gitlab.cs.ui.ac.id/ppl-fasilkom-ui/2020/ppl-c/dtb-beasiswa-miskin-dan-disabilitas/pplapangan-tembak-dtb-layanan-siswa-disabilitas/badges/staging/coverage.svg)](https://gitlab.cs.ui.ac.id/ppl-fasilkom-ui/2020/ppl-c/dtb-beasiswa-miskin-dan-disabilitas/pplapangan-tembak-dtb-layanan-siswa-disabilitas/commits/staging)
[![coverage report](https://gitlab.cs.ui.ac.id/ppl-fasilkom-ui/2020/ppl-c/dtb-beasiswa-miskin-dan-disabilitas/pplapangan-tembak-dtb-layanan-siswa-disabilitas/badges/staging/coverage.svg?job=Test)](https://gitlab.cs.ui.ac.id/ppl-fasilkom-ui/2020/ppl-c/dtb-beasiswa-miskin-dan-disabilitas/pplapangan-tembak-dtb-layanan-siswa-disabilitas/commits/staging)
>bisaGo is a mobile application made with Flutter and Django REST API to gather information from users about disability friendly facilities.
......
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