Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
fluttertpc_get
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Jonny Borges
2020-05-24 18:43:15 -0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Committed by
GitHub
2020-05-24 18:43:15 -0300
Commit
538f4776888b1416dbdfc314f1609694373e0cef
538f4776
1 parent
748911f3
Create main.yml
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
0 deletions
.github/workflows/main.yml
.github/workflows/main.yml
0 → 100644
View file @
538f477
#The name of your workflow.
name
:
Test, build and deploy
# Trigger the workflow on push or pull request
on
:
[
push
,
pull_request
]
#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]
runs-on
:
macos-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@v1
# Setup a flutter environment.
# https://github.com/marketplace/actions/flutter-action
-
uses
:
subosito/flutter-action@v1
with
:
flutter-version
:
'
1.17.1'
channel
:
'
stable'
-
run
:
flutter pub get
# run static analys code
-
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
...
...
Please
register
or
login
to post a comment