Skip to content

Merge pull request #3063 from longtn-imt/longtn-imt #1725

Merge pull request #3063 from longtn-imt/longtn-imt

Merge pull request #3063 from longtn-imt/longtn-imt #1725

Workflow file for this run

#The name of your workflow.
name: build
# Trigger the workflow on push or pull request
on:
push:
branches: [master]
pull_request:
branches: [master]
#A workflow run is made up of one or more jobs. Jobs run in parallel by default.
jobs:
test:
#The type of machine to run the job on. [windows,macos, ubuntu , self-hosted]
defaults:
run:
working-directory: ./
runs-on: ubuntu-latest
#sequence of tasks called
steps:
# The branch or tag ref that triggered the workflow will be checked out.
# https://github.com/actions/checkout
- uses: actions/checkout@v3
# Setup a flutter environment.
# https://github.com/marketplace/actions/flutter-action
- uses: subosito/flutter-action@v2
with:
flutter-version: "3.24.0"
channel: "stable"
- run: flutter pub get
#- run: flutter analyze
# run flutter widgets tests and unit tests
- run: flutter test --coverage
# Upload coverage reports to Codecov
# https://github.com/marketplace/actions/codecov
- uses: codecov/[email protected]