Skip to content

Commit

Permalink
feat: Add Flutter Clean workflow in GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
guilherme-v committed Apr 7, 2024
1 parent 46ca3ec commit 5087fb2
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 2 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Flutter Clean

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
test:
name: Run Tests
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Setup Flutter
uses: subosito/flutter-action@v2
with:
channel: stable
flutter-version: 3.19.5
- run: flutter --version

- name: Install dependencies
run: flutter pub get

- name: Run tests
run: flutter test
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Flutter - Clean Architecture with State Management comparison

![Build Status](https://github.com/guilherme-v/flutter-clean-architecture-example/actions/workflows/main/badge.svg)

![app](./art/app.png?raw=true)

## Goals
Expand All @@ -23,12 +25,12 @@ An overview of the current state management libraries explored is presented belo

| State Manager | Applied | Unit tests | Widget tests |
|---------------|---------|:----------:|--------------|
| Provider | Yes | Yes | In Progress |
| Provider | Yes | Yes | Yes |
| Riverpod | Yes | Yes | In Progress |
| Bloc | Yes | Yes | Yes |
| Cubit | Yes | Yes | Yes |
| GetIt | Yes | Yes | Yes |
| MobX | Yes | Yes | In Progress |
| MobX | Yes | Yes | Yes |

## Tip

Expand Down

0 comments on commit 5087fb2

Please sign in to comment.