This repository has been archived by the owner on Aug 7, 2024. It is now read-only.
Refactoring changelog dialog structure across implementations #235
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
paths: | |
- '**.dart' | |
- '*.yaml' | |
workflow_call: | |
inputs: | |
update-coverage: | |
description: 'Update coverage' | |
required: false | |
default: false | |
type: boolean | |
secrets: | |
CODECOV_TOKEN: | |
description: 'Codecov token' | |
required: false | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Flutter | |
uses: ./.github/actions/setup-flutter | |
- name: Run tests | |
run: flutter test --reporter expanded | |
- name: Upload coverage reports to Codecov | |
uses: codecov/codecov-action@v3 | |
if: ${{ github.event_name == 'push' || inputs.update-coverage }} | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |