Merge branch 'main' into dev #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
name: Test workflow | |
on: | |
push: | |
branches: [dev] | |
pull_request: | |
branches: [main, dev] | |
workflow_dispatch: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: subosito/[email protected] | |
- name: Fetch dependencies | |
run: flutter packages get | |
- name: Analyze project | |
run: flutter analyze | |
- name: Run tests | |
run: flutter test --coverage --dart-define=CI=true | |
- name: Collect and report coverage | |
uses: coverallsapp/[email protected] | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} |