Skip to main content

Codemagic

Codemagic is a CI/CD solution which helps you test and release your Flutter apps with zero configuration and no pain.

Usage​

With codemagic.yaml​

To enable Flutterando Metrics add the following script to codemagic.yaml

codemagic.yaml
scripts:
- echo 'previous step'
- name: Flutterando Metrics
script: |
mkdir -p metrics-results
flutter pub run flutterando_metrics:metrics analyze lib --reporter=json > metrics-results/flutterando_metrics.json
test_report: metrics-results/flutterando_metrics.json

check out Codemagic docs for more details about codemagic.yaml setup.

With the Flutter workflow editor​

To enable Flutterando Metrics check the Enable Flutterando Metrics option:

Flutterando Metrics Flutter workflow editor

check out Codemagic docs for more details about the Flutter workflow editor setup.

Output example​

Results preview​

Flutterando Metrics results

Flutterando Metrics results expanded

Logs​

Flutterando Metrics logs