Skip to content

Commit

Permalink
Merge pull request #208 from osociety/fix-ui-slowness
Browse files Browse the repository at this point in the history
Added coverage action
  • Loading branch information
git-elliot authored Nov 16, 2024
2 parents 413949e + 8f05522 commit 73f720a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/flutter_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
workflow_call:

concurrency:
group: ${{ github.head_ref }}
group: ${{ github.head_ref || github.run_id}}
cancel-in-progress: true

jobs:
Expand Down Expand Up @@ -93,11 +93,19 @@ jobs:
run: flutter pub run build_runner build
- name: Run analyzer
run: flutter analyze
- name: Install coverage tools
run: flutter pub global activate coverage
- name: Run tests
run: flutter test
- name: Run integration tests
if: ${{ steps.extract_branch.outputs.branch == 'dev' }}
run: flutter test integration_test -d macos
run: flutter test integration_test --coverage -d macos
- name: Upload Coverage to CodeCov
if: ${{ steps.extract_branch.outputs.branch == 'dev' }}
uses: codecov/codecov-action@v3
with:
token: ${{secrets.CODECOV_TOKEN}}
file: coverage/lcov.info

android-linux-build:
name: 'Build Android + Linux'
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Vernet - Network Analyzer and Monitoring Tool
![GitHub repo size](https://img.shields.io/github/repo-size/git-elliot/vernet)
![GitHub Downloads (all assets, all releases)](https://img.shields.io/github/downloads/osociety/vernet/total)
![Liberapay receiving](https://img.shields.io/liberapay/receives/opensociety)
[![codecov](https://codecov.io/gh/osociety/vernet/graph/badge.svg?token=B25JBP4RCI)](https://codecov.io/gh/osociety/vernet)

## Features

Expand Down

0 comments on commit 73f720a

Please sign in to comment.