Skip to content

1.2.6

1.2.6 #38

Workflow file for this run

name: E2E Tests
on:
push:
branches:
- main
pull_request:
types: [opened, reopened, synchronize]
jobs:
e2e-test:
runs-on: macos-latest
timeout-minutes: 45
strategy:
matrix:
api-level: [29, 30, 31]
steps:
- name: checkout
uses: actions/checkout@v3
- uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: '11'
- uses: subosito/flutter-action@v2
with:
channel: 'stable'
- name: run tests
uses: ReactiveCircus/[email protected]
with:
api-level: ${{ matrix.api-level }}
arch: x86_64
script: |
flutter drive --target=test_driver/app.dart --driver=test_driver/key_new.dart
flutter drive --target=test_driver/app.dart --driver=test_driver/key_imported.dart
# - name: Upload screenshots
# if: failure()
# uses: actions/upload-artifact@v3
# with:
# name: screenshot-${{ matrix.api-level }}
# path: fail-screenshots/${{ matrix.api-level }}/
# retention-days: 5