updated flutter-drive.yml
This commit is contained in:
parent
2af90fd897
commit
e6832a2f33
|
@ -32,6 +32,13 @@ jobs:
|
||||||
# checked out.
|
# checked out.
|
||||||
# https://github.com/actions/checkout
|
# https://github.com/actions/checkout
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
# Sets up cache
|
||||||
|
- name: Cache multiple paths
|
||||||
|
uses: actions/cache@v2
|
||||||
|
with:
|
||||||
|
path: |
|
||||||
|
~/.pub-cache
|
||||||
|
**/node_modules
|
||||||
# Sets up a flutter environment.
|
# Sets up a flutter environment.
|
||||||
# https://github.com/marketplace/actions/flutter-action
|
# https://github.com/marketplace/actions/flutter-action
|
||||||
- name: "Install Flutter"
|
- name: "Install Flutter"
|
||||||
|
@ -75,14 +82,13 @@ jobs:
|
||||||
# checked out.
|
# checked out.
|
||||||
# https://github.com/actions/checkout
|
# https://github.com/actions/checkout
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
# Sets up android emulator
|
# Sets up cache
|
||||||
- name: "Android Emulator Runner"
|
- name: Cache multiple paths
|
||||||
uses: ReactiveCircus/android-emulator-runner@v2.14.3
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
api-level: 30
|
path: |
|
||||||
target: google_apis
|
~/.pub-cache
|
||||||
avd-name: Flutter-Android
|
**/node_modules
|
||||||
script: ./example/android/gradlew connectedCheck
|
|
||||||
# Sets up a flutter environment.
|
# Sets up a flutter environment.
|
||||||
# https://github.com/marketplace/actions/flutter-action
|
# https://github.com/marketplace/actions/flutter-action
|
||||||
- name: "Install Flutter"
|
- name: "Install Flutter"
|
||||||
|
@ -101,8 +107,14 @@ jobs:
|
||||||
cd ./nodejs_server_test_auth_basic_and_ssl
|
cd ./nodejs_server_test_auth_basic_and_ssl
|
||||||
npm install
|
npm install
|
||||||
cd ..
|
cd ..
|
||||||
- name: "Run iOS Flutter Integration Test"
|
- name: "Install flutter dependencies"
|
||||||
run: |
|
run: |
|
||||||
flutter pub get
|
flutter pub get
|
||||||
flutter devices
|
# Sets up android emulator
|
||||||
./scripts/test.sh $(ipconfig getifaddr en0)
|
- name: "Run Android Flutter Integration Test"
|
||||||
|
uses: ReactiveCircus/android-emulator-runner@v2.14.3
|
||||||
|
with:
|
||||||
|
api-level: 30
|
||||||
|
target: google_apis
|
||||||
|
avd-name: Flutter-Android
|
||||||
|
script: ./scripts/test.sh $(ipconfig getifaddr en0)
|
Loading…
Reference in New Issue