From 9bc03fa40bc4d7e5843055a11a42e7a1b9e778e2 Mon Sep 17 00:00:00 2001 From: Abhilash Chandran Date: Wed, 5 Jun 2024 16:16:09 +0200 Subject: [PATCH] add unit tests --- codemagic.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/codemagic.yaml b/codemagic.yaml index 202d8c2..83d7564 100644 --- a/codemagic.yaml +++ b/codemagic.yaml @@ -42,4 +42,24 @@ workflows: cd .. flutter emulators --launch apple_ios_simulator flutter test integration_test/functionality_test.dart + unit-tests: + triggering: + events: + - pull_request + cancel_previous_builds: true + environment: + flutter: 3.19.5 + xcode: 15.4 + cocoapods: 1.15.2 + cache: + cache_paths: + - $FLUTTER_ROOT/.pub-cache + scripts: + - name: analyze flutter + script: | + flutter pub get + flutter analyze + - name: run ios integration tests on example folder + script: | + flutter test