Skip to content

Update on past ph page (#429) #852

Update on past ph page (#429)

Update on past ph page (#429) #852

Workflow file for this run

name: Test
# https://docs.github.com/actions/automating-builds-and-tests/building-and-testing-nodejs-or-python?langId=py#requirements-file
on:
pull_request:
types: [opened, edited, ready_for_review, synchronize]
push:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Check out the code
uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
channel: "stable"
- name: Install Pub Dependencies
run: flutter pub get
- name: Copy .env file
run: cp .env.template .env
- name: Test project
run: flutter test --flavor prod --coverage
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}