merged with theirs #201
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: drive_test Android | |
| # Trigger the workflow on push or pull request. | |
| on: [push, pull_request] | |
| # A workflow run is made up of one or more jobs. | |
| jobs: | |
| drive_android: | |
| # The type of machine to run the job on. | |
| runs-on: macos-latest | |
| # creates a build matrix for your jobs | |
| strategy: | |
| # set of different configurations of the virtual environment. | |
| matrix: | |
| api-level: [21, 23, 29] | |
| target: [default, google_apis] | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: subosito/flutter-action@v1 | |
| with: | |
| flutter-version: '3.0.0' | |
| channel: 'stable' # or: 'dev' or 'beta' | |
| - name: "Run Flutter Driver tests" | |
| # GitHub Action for installing, configuring and running Android Emulators (work only Mac OS) | |
| # https://github.com/marketplace/actions/android-emulator-runner | |
| uses: reactivecircus/android-emulator-runner@v2 | |
| with: | |
| api-level: ${{ matrix.api-level }} | |
| target: ${{ matrix.target }} | |
| arch: x86_64 | |
| profile: Nexus 6 | |
| script: "flutter drive --target=test_driver/driver.dart" | |
| working-directory: Space_Mapper |