Moved UI related code outside of Upgrader and into UpgradeAlert and UpgradeCard. #203
Workflow file for this run
This file contains 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: main | |
on: | |
pull_request: | |
types: [review_requested, opened, synchronize] | |
paths-ignore: | |
- '.github/workflows/platforms.yml' | |
push: | |
branches: | |
- '*' | |
paths-ignore: | |
- '.github/workflows/platforms.yml' | |
jobs: | |
build-and-test: | |
runs-on: macos-latest | |
strategy: | |
matrix: | |
flutter-version: ['3.13.1'] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: subosito/flutter-action@v2 | |
with: | |
flutter-version: '${{ matrix.flutter-version }}' | |
channel: 'stable' | |
- name: Get flutter packages | |
run: flutter pub get | |
- name: Analyze | |
run: flutter analyze | |
- name: Run unit and widget tests | |
run: flutter test --coverage --coverage-path=lcov.info | |
- name: Upload test coverage to codecov.io | |
uses: codecov/codecov-action@v3 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
files: lcov.info | |
- name: Boot the simulator | |
run: xcrun simctl boot 'iPhone 13' | |
- name: Run the driver test | |
run: cd example; flutter drive --target=test/driver_test/driver.dart --driver=test/driver_test/driver_test.dart |