relax http (#235) #745
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: analyze and test runtime | |
on: | |
push: | |
branches: [main] | |
paths-ignore: | |
- '**/*.md' | |
pull_request: | |
branches: [main] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: packages/vector_graphics | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: subosito/flutter-action@v2 | |
with: | |
channel: 'master' | |
- run: flutter --version | |
- run: flutter pub get | |
- run: dart format --set-exit-if-changed . | |
- run: flutter analyze . | |
- run: flutter test --coverage | |
- run: flutter test --platform=chrome | |
# - uses: romeovs/lcov-reporter-action@v0.2.16 | |
# with: | |
# lcov-file: ./packages/vector_graphics/coverage/lcov.info | |
# github-token: ${{ secrets.GITHUB_TOKEN }} |