Skip to content

test: 🧪 add unit tests for the furute texts #5

test: 🧪 add unit tests for the furute texts

test: 🧪 add unit tests for the furute texts #5

Workflow file for this run

name: Coverage
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
name: Run tests and collect coverage
runs-on: ubuntu-latest
steps:
- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
channel: stable
cache: true
- run: flutter --version
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: 21
distribution: adopt
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install dependencies
run: flutter pub get
- name: Download and generate build dependencies
run: bash setup.bash
- name: Run tests
run: flutter test --coverage
- name: Upload results to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}