Skip to content

Commit

Permalink
feat: Adding CI for Flutter. #96
Browse files Browse the repository at this point in the history
  • Loading branch information
LuchoTurtle committed May 17, 2023
1 parent de6e0ee commit a604f33
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/dart.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Dart CI

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:
runs-on: macos-latest

steps:
- uses: actions/checkout@v3

# Installing Flutter because it's easier to generate .lcov files for test coverage
- name: Install Flutter
uses: subosito/flutter-action@v2

- name: Install dependencies
run: dart pub get

# Your project will need to have tests in test/ and a dependency on
# package:test for this step to succeed. Note that Flutter projects will
# want to change this to 'flutter test'.
- name: Run tests
run: flutter test --coverage

- uses: codecov/codecov-action@v2
with:
files: coverage/lcov.info
verbose: true # optional (default = false)
File renamed without changes.

0 comments on commit a604f33

Please sign in to comment.