Skip to content

Commit

Permalink
initialize github testing bluevsred_flutter with codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkbee1 committed Apr 4, 2024
1 parent 7b1d215 commit 42e508f
Show file tree
Hide file tree
Showing 2 changed files with 953 additions and 0 deletions.
30 changes: 30 additions & 0 deletions bluevsred_flutter/.github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Flutter_Tests

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

jobs:
tests:
runs-on: ubuntu-latest

steps:
- name: Checkout the code
uses: actions/checkout@v2
- name: Install and set Flutter version
uses: subosito/[email protected]
with:
flutter-version: '3.19.3'
- name: Restore packages
run: flutter pub get
- name: Analyze
run: flutter analyze
- name: Run tests
run: flutter test --coverage
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: hawkbee1/bluevsred
Loading

0 comments on commit 42e508f

Please sign in to comment.