From 6922c1a2aefd24ff033c6db31226fef19a16b610 Mon Sep 17 00:00:00 2001 From: Vishesh Handa Date: Fri, 10 Apr 2020 13:47:35 +0200 Subject: [PATCH] CI: Setup env before running tests Some of the included files sometimes need the env file to exist --- .circleci/config.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 85e90306..7affae7e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -5,6 +5,9 @@ jobs: - image: vhanda/flutter-android:latest steps: - checkout + - run: + name: Setup Flutter Env + command: dart ./scripts/setup_env.sh - run: name: Test command: flutter test -j 1 @@ -20,9 +23,6 @@ jobs: - run: name: Create Android Key file command: echo "$ANDROID_KEY_FILE" | base64 -di > android/key.properties - - run: - name: Setup Flutter Env - command: dart ./scripts/setup_env.sh - run: name: Build command: ./scripts/build.sh