GithubHelp home page GithubHelp logo

isabella232 / semaphore-demo-flutter2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from semaphoreci-demos/semaphore-demo-flutter

0.0 0.0 0.0 378 KB

A Semaphore CI/CD demo pipeline using Flutter 2

License: MIT License

Kotlin 0.40% Dart 78.02% Ruby 7.61% Swift 3.28% Objective-C 0.11% HTML 10.57%

semaphore-demo-flutter2's Introduction

Flutter 2.0 Test Demo

Build Status style: very good analysis

Example repository showcasing a pipeline with different kinds of tests for a Flutter 2.0 application.

Versions

Name Version
Flutter SDK v2.2.2 (stable)
Dart SDK > 2.12.0

Setup

  1. Run diagnostics

Verify installed Flutter SDK version

flutter doctor -v
  1. Clone the project
git clone https://github.com/semaphoreci-demos/semaphore-demo-flutter2
  1. Install dependencies
flutter packages get
  1. Run the project
flutter run
  1. Run the unit & widget tests
flutter test test
  1. Run the integration tests

For example, adding new item in the list

flutter test integration_test/add_new_todo_item_test.dart

See integration_tests for the list of available integration tests.

Continuous Integration

The demo includes a working Semaphore CI in the main branch. Fork this repository and use it to [create your own project][create-project] on Semaphore.

The CI pipeline will look like this:

The example pipeline contains 4 blocks.

  1. Install and cache Flutter dependencies.
  2. Run Linting and code analysis tests.
  3. Run unit and widget tests.
  4. Run integration tests on an emulator.

License

Copyright (c) 2021 Rendered Text

Distributed under the MIT License. See the file LICENSE.

semaphore-demo-flutter2's People

Contributors

joshua-swarm avatar joshuadeguzman avatar markoa avatar shehanat avatar tomfern avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.