This repository is a shared CI destined to be used by Riverpod, flutter_hooks and more.
This scripts:
dart test
and flutter test
based on whether the project depends on flutter or notdart pub publish --dry-run
on all the packages that needs publishingTo 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.
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