Skip to content
/ ci Public

A placeholder project to work on a CI for all of my different projects at once

Notifications You must be signed in to change notification settings

rrousselGit/ci

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository is a shared CI destined to be used by Riverpod, flutter_hooks and more.

This scripts:

  • can switch between dart test and flutter test based on whether the project depends on flutter or not
  • supports mono-repositories
  • detects if the project needs to run code-generators
  • executes dart pub publish --dry-run on all the packages that needs publishing
  • caclulate the test coverage (both dart and flutter) and uploads it to codecov

Usage

To execute this script, run the following command:

curl -s https://raw.githubusercontent.com/rrousselGit/ci/master/scripts/ci.sh | bash

See the .github/workflows/ folder for an example on how to use it with Gitub Actions.

Non-nullable types

To run the CI in non-nullable type mode, set the NNBD environment variable:

curl -s https://raw.githubusercontent.com/rrousselGit/ci/master/scripts/ci.sh | bash -s nnbd

About

A placeholder project to work on a CI for all of my different projects at once

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages