Skip to content

Unit testing

Unit testing #8

Workflow file for this run

on:
push:
paths-ignore:
- '*.md'
pull_request:
jobs:
run-tests:
permissions:
pull-requests: read
strategy:
matrix:
os: [ ubuntu-latest, macos-latest ]
name: Build
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Environment
uses: ./.github/actions/setup_build
- name: Pre Build Tasks
uses: ./.github/actions/pre_build
- name: Run Tests
run: flutter test --coverage
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: coverage/lcov.info