A container image with flutter and various CI tools.

Overview

flutter-ci-tools

A Docker container built from the cirrusci/flutter image, with various CI tools.

Project Notes

With the available tools you can:

  • deploy coverage data to Firebase Hosting
  • update README badges as coverage changes

Future Work

  • Add a comment to the PR with the coverage and whether it is a passing number.

Usage

Example: deploying coverage data to Firebase Hosting:

name: Coverage

on:
  push:
    branches:
      - main

jobs:
  coverage:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        include:
          - package_name: package1
          - package_name: package2
          ...
  
    container: cirrusci/flutter:2.8.1
    defaults:
      run:
        working-directory: ./packages/${{ matrix.package_name }}
    
    steps:
      - uses: actions/checkout@v2
      - run: flutter pub get
      - run: flutter test --coverage && genhtml coverage/lcov.info -o coverage
      - uses: actions/upload-artifact@v2
        with:
          name: ${{ matrix.package_name }}
          path: ./packages/${{matrix.package_name}}/coverage/

  upload:
    runs-on: ubuntu-latest
    needs: coverage
    container: enspyrco/flutter-ci-tools:2.8.1

    steps:
      - uses: actions/download-artifact@v2
        with:
          path: ./coverage
    
      - run: /deploy_coverage -k '${{secrets.FIREBASE_SERVICE_ACCOUNT}}' -p firebase_project_id

Dart Apps

deploy_coverage

Deploy coverage info to Firebase hosting.

calculate_percentage

Calculate percentage of lines covered from coverage info.

Flutter App

draw_badge

Draw a badge for the given coverage percent and save as a png file.

You might also like...

Form builder image picker - Form builder image picker for flutter

form_builder_image_picker Field for picking image(s) from Gallery or Camera for

Jan 28, 2022

Flutter Image add drag sort, Image add drag sort, support click event, delete, add, long press drag sort.

Flutter Image add drag sort, Image add drag sort, support click event, delete, add, long press drag sort.

flutter_image_add_drag_sort Flutter Image add drag sort, Image add drag sort, support click event, delete, add, long press drag sort, support video fi

Jun 23, 2020

[Flutter SDK V.2] - Youtube Video is a Flutter application built to demonstrate the use of Modern development tools with best practices implementation like Clean Architecture, Modularization, Dependency Injection, BLoC, etc.

[Flutter SDK V.2] - Youtube Video is a Flutter application built to demonstrate the use of Modern development tools with best practices implementation like Clean Architecture, Modularization, Dependency Injection, BLoC, etc.

[Flutter SDK V.2] - Youtube Video is a Flutter application built to demonstrate the use of Modern development tools with best practices implementation like Clean Architecture, Modularization, Dependency Injection, BLoC, etc.

Jan 2, 2023

Redesign Unsplash Mobile Application with flutter tools.

Redesign Unsplash Mobile Application with flutter tools.

flutter_splash Redesign Unsplash Mobile Application with flutter tools. About its open source application based Unsplash API for training Flutter , Di

Sep 5, 2021

Devtools - Performance tools for Flutter

Dart & Flutter DevTools What is this? Dart & Flutter DevTools is a suite of performance tools for Dart and Flutter. Getting started For documentation

Dec 29, 2022

A set of useful sliver tools that are missing from the flutter framework

A set of useful sliver tools that are missing from the flutter framework

sliver_tools A set of useful sliver tools that are missing from the flutter framework. Here is a taste what you can make using this package The struct

Jan 4, 2023

A PC client to control mobiles by adb tools in Flutter.

mobile_controller A new Flutter project for PC to control mobiles by adb tool. Develop in progress, not release yet... Features Provide computer contr

Nov 15, 2022

Provide powerfull tools to help you build your Flutter design system.

Provide powerfull tools to help you build your Flutter design system.

Provide powerfull tools to help you build your design system. About flutter_design contains packages to help you bootstrap your design system with a w

Dec 3, 2022
Owner
null
Aq flutter tools - AQ flutter tools - Responsive Images, Translations and more

Made by AQuadic Getting started Important Links AQuadic Script Requirement This

Aquadic 0 Feb 7, 2022
Various eBay tools for Flutter development

Flutter Glove Box given_when_then golden_toolkit page_object Contains various testing tools that eBay Motors App team is using in their development on

eBay 275 Dec 21, 2022
A flutter library for loading images from network, resizing as per container size and caching while being memory sensitive.

Optimized Cached Image A flutter library for loading images from network, resizing and caching them for memory sensitivity. This resizes and stores th

Anvith Bhat 76 Dec 20, 2022
Animation (front and Back Container)

Flippable_Box A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if

Rasul Ramixanov 1 Jan 5, 2022
Neumorphic style - Example app with Flutter that displays a neumorphic style container

Flutter Neumorphic Style Example App Example app with Flutter that displays a ne

Piyush Nagpal 2 Mar 24, 2022
Colored Container Package in Flutter

coloredcontainer Description This package wraps any flutter widget inside the container with specified colors. Feature Image Getting started Add the f

Vijay R 3 Oct 25, 2022
Flutter simple image crop - A simple and easy to use flutter plugin to crop image on iOS and Android

Image Zoom and Cropping plugin for Flutter A simple and easy used flutter plugin to crop image on iOS and Android. Installation Add simple_image_crop

null 97 Dec 14, 2021
Dart library for decoding/encoding image formats, and image processing.

image Overview A Dart library providing the ability to load, save and manipulate images in a variety of different file formats. The library is written

Brendan Duncan 907 Dec 27, 2022
Album Image is based in photo_manager package and has the same concept as image_picker but with a more attractive interface to choose an image or video from the device gallery, whether it is Android or iOS

Album Image is based in photo_manager package and has the same concept as image_picker but with a more attractive interface to choose an image or vide

Phuong Vu 2 Oct 13, 2022