add verbose in ci #438
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: Run CI | |
| on: [push] | |
| jobs: | |
| test: | |
| name: Unit Test For SDK Flagship | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [macos-latest] | |
| flutter: [stable] | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: actions/setup-java@v1 | |
| with: | |
| java-version: '15' | |
| - uses: subosito/flutter-action@v1 | |
| with: | |
| channel: ${{ matrix.flutter }} | |
| - run: flutter pub get | |
| - run: flutter test --coverage | |
| - name: Upload coverage to Codecov | |
| uses: codecov/[email protected] | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| build_qa_apk: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v1 | |
| - uses: actions/setup-java@v1 | |
| with: | |
| java-version: '17' | |
| - uses: subosito/flutter-action@v1 | |
| with: | |
| flutter-version: ${{ matrix.flutter }} | |
| - run: flutter pub get | |
| working-directory: example | |
| - run: flutter build apk --release -v | |
| working-directory: example | |
| - name: Archive FlagshipQA APK | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: QA APK | |
| path: example/build/app/outputs/flutter-apk/app-debug.apk | |
| retention-days: 2 |