schemaVersion: 2.0.0 commandTests: - name: Gradle, licenses and platforms are already downloaded setup: - - flutter - create - test_app teardown: - - rm - -r - test_app command: bash args: - -c - | cd test_app/android \ && timeout --preserve-status 480s ./gradlew bundleRelease excludedOutput: - Checking - Installing - Downloading - name: Android SDK build tools is pinned command: ls args: - /home/flutter/sdks/android-sdk/build-tools expectedOutput: - 34.0.0 - name: Android NDK is pinned command: ls args: - /home/flutter/sdks/android-sdk/ndk expectedOutput: - 26.3.11579264 - name: CMake is pinned command: ls args: - /home/flutter/sdks/android-sdk/cmake expectedOutput: - 3.22.1 - name: Android SDK build tools directory only has one directory command: bash args: - -c - | ls /home/flutter/sdks/android-sdk/build-tools \ | wc -l - name: Fastlane can run lanes setup: - - flutter - create - test_app - - mkdir - -p - /home/flutter/test_app/android/fastlane - - touch - /home/flutter/test_app/android/fastlane/Appfile - - sh - -c - |- echo 'lane :hello do puts "Hello" end' > /home/flutter/test_app/android/fastlane/Fastfile - - touch - /home/flutter/test_app/android/fastlane/Pluginfile teardown: - - rm - -r - test_app command: bash args: - -c - | cd test_app/android \ && timeout --preserve-status 240s fastlane hello excludedOutput: - Checking - Installing - Downloading - name: Fastlane usage is opted-out command: fastlane args: - action - debug excludedOutput: - Sending anonymous analytics information fileContentTests: - name: Android SDK Command-line Tools is version 19.0 path: /home/flutter/sdks/android-sdk/cmdline-tools/latest/source.properties expectedContents: - |- Pkg.Revision=19.0 Pkg.Path=cmdline-tools;19.0 Pkg.Desc=Android SDK Command-line Tools - name: Dart and Flutter analytics are disabled path: /home/flutter/.dart-tool/dart-flutter-telemetry.config expectedContents: - reporting=0