Skip to content

Commit

Permalink
💚 combine test and coverage workflows
Browse files Browse the repository at this point in the history
🔥 remove coverage workflow
  • Loading branch information
BirjuVachhani committed Mar 26, 2021
1 parent c5f6277 commit d28f645
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 34 deletions.
29 changes: 0 additions & 29 deletions .github/workflows/coverage.yaml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/quality.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- uses: actions/checkout@v1
- name: Install dependencies
run: pub get
- name: Analyzer
- name: Code Analysis
run: dart analyze .
- name: Dartfmt
- name: Code Formatting
run: dart format --set-exit-if-changed .
13 changes: 10 additions & 3 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Tests
name: Tests & Coverage

on:
push:
Expand All @@ -10,7 +10,7 @@ on:
workflow_dispatch:

jobs:
test:
tests_and_coverage:
runs-on: macos-latest
steps:
- name: Tap Google's Dart formula repository
Expand All @@ -21,4 +21,11 @@ jobs:
- name: Install dependencies
run: pub get
- name: Run tests
run: pub run test
run: pub run test
- name: Activate Test Coverage
run: pub global activate test_coverage
- name: Generate Code Coverage
run: pub global run test_coverage
- uses: codecov/codecov-action@v1
with:
file: coverage/lcov.info

0 comments on commit d28f645

Please sign in to comment.