Fix demo project #44
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: Dart CI | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: subosito/flutter-action@v1 | |
with: | |
channel: stable | |
- name: Install utils | |
run: sudo apt install poppler-utils imagemagick lcov | |
- name: Run analysis barcode | |
run: make analyze-barcode | |
- name: Run analysis image | |
run: make analyze-image | |
- name: Run tests | |
run: make test | |
- name: Verify that nothing changed | |
run: test -z "$(git status --porcelain | tee /dev/stderr)" | |
- name: Push to codecov | |
run: bash <(curl -s https://codecov.io/bash) |