mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-29 18:38:36 +08:00
CI: Setup env before running tests
Some of the included files sometimes need the env file to exist
This commit is contained in:
@ -5,6 +5,9 @@ jobs:
|
|||||||
- image: vhanda/flutter-android:latest
|
- image: vhanda/flutter-android:latest
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
|
- run:
|
||||||
|
name: Setup Flutter Env
|
||||||
|
command: dart ./scripts/setup_env.sh
|
||||||
- run:
|
- run:
|
||||||
name: Test
|
name: Test
|
||||||
command: flutter test -j 1
|
command: flutter test -j 1
|
||||||
@ -20,9 +23,6 @@ jobs:
|
|||||||
- run:
|
- run:
|
||||||
name: Create Android Key file
|
name: Create Android Key file
|
||||||
command: echo "$ANDROID_KEY_FILE" | base64 -di > android/key.properties
|
command: echo "$ANDROID_KEY_FILE" | base64 -di > android/key.properties
|
||||||
- run:
|
|
||||||
name: Setup Flutter Env
|
|
||||||
command: dart ./scripts/setup_env.sh
|
|
||||||
- run:
|
- run:
|
||||||
name: Build
|
name: Build
|
||||||
command: ./scripts/build.sh
|
command: ./scripts/build.sh
|
||||||
|
Reference in New Issue
Block a user