Skip to content

Commit

Permalink
Update gitignore and add test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
Gold872 committed Aug 23, 2023
1 parent 29ead74 commit 406edff
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/elastic-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ name: Elastic

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

jobs:
formatting-analysis:
Expand Down Expand Up @@ -55,5 +55,9 @@ jobs:
run: dart run build_runner build --delete-conflicting-outputs

- name: Run tests
run: flutter test

run: flutter test --coverage

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
.history
.svn/
migrate_working_dir/
coverage/
*.mocks.dart

# IntelliJ related
*.iml
Expand Down

0 comments on commit 406edff

Please sign in to comment.