Skip to content

Commit

Permalink
added ci
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobaraujo7 committed Jun 25, 2024
1 parent 651e669 commit 6edf56b
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Flutter CI

on:
push:
branches: [main]
pull_request:

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
channel: stable

- name: Install dependencies
run: flutter pub get

- name: Run Analyze
run: flutter analyze --no-fatal-infos

- name: Check format
run: dart format --set-exit-if-changed ./lib

- name: Run tests
run: flutter test --coverage

- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@

# ASP - Atomic State Pattern

[![Pub Version](https://img.shields.io/pub/v/asp.svg)](https://pub.dev/packages/asp)
![CI](https://github.com/Flutterando/asp/workflows/CI/badge.svg)
![LICENSE](https://img.shields.io/hexpm/l/modular)
[![GitHub stars](https://badgen.net/github/stars/Flutterando/asp)](https://GitHub.com/Flutterando/asp/stargazers/)


![image](/assets/logo.png)

ASP (Atomic State Pattern) offers a simplified, predictable, and powerful state management solution for Flutter.
Expand Down

0 comments on commit 6edf56b

Please sign in to comment.