Skip to content

Merge pull request #1 from natsuk4ze/dependabot/pub/freezed-2.4.5 #100

Merge pull request #1 from natsuk4ze/dependabot/pub/freezed-2.4.5

Merge pull request #1 from natsuk4ze/dependabot/pub/freezed-2.4.5 #100

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
jobs:
set-up:
runs-on: ubuntu-latest
steps:
- name: Cancel
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
test:
needs: set-up
timeout-minutes: 30
strategy:
fail-fast: false
runs-on: macos-latest
steps:
- name: Check out
uses: actions/checkout@v4
- name: Setup JDK
uses: actions/setup-java@v3
with:
java-version: 11
distribution: temurin
cache: gradle
- name: Setup Flutter SDK
timeout-minutes: 10
uses: subosito/flutter-action@v2
with:
channel: beta
- name: Flutter Pub get
run: flutter pub get
- name: Flutter Analyze
run: flutter analyze
- name: Unit Test
timeout-minutes: 5
run: flutter test test/unit_test.dart --coverage
- name: Widget Test
timeout-minutes: 5
run: flutter test test/widget_test.dart --coverage
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- name: Build iOS
timeout-minutes: 10
run: flutter build ios --no-codesign
- name: Build Android
timeout-minutes: 10
run: flutter build appbundle