CI: fixes to install NDK and skip tests

This commit is contained in:
Thibault Deckers 2020-07-12 15:24:29 +09:00
parent 3b31439c2e
commit 652b1723a9

View file

@ -18,6 +18,11 @@ jobs:
with:
channel: 'stable'
# Workaround for this Android Gradle Plugin issue (supposedly fixed in AGP 4.1):
# https://issuetracker.google.com/issues/144111441
- name: Install NDK
run: echo "y" | sudo /usr/local/lib/android/sdk/tools/bin/sdkmanager --install "ndk;20.0.5594570" --sdk_root=${ANDROID_SDK_ROOT}
- name: Clone the repository.
uses: actions/checkout@v2
@ -28,8 +33,9 @@ jobs:
working-directory: ${{ github.workspace }}/scripts
run: ./update_flutter_version.sh
- name: Run the unit tests.
run: flutter test
# `flutter test` fails if test directory is missing
#- name: Run the unit tests.
# run: flutter test
- name: Build signed artifacts.
# `KEY_JKS` should contain the result of: