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
|
||||
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
|
||||
|
Reference in New Issue
Block a user