Create main.yml
This commit is contained in:
parent
8938cad2f9
commit
83d227d1fa
1 changed files with 24 additions and 0 deletions
24
.github/workflows/main.yml
vendored
Normal file
24
.github/workflows/main.yml
vendored
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
name: Test on ${{ matrix.os }}
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest, windows-latest, macos-latest]
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: subosito/flutter-action@v1
|
||||
|
||||
- run: flutter doctor -v
|
||||
- run: flutter pub get
|
||||
- run: flutter analyze
|
||||
- run: flutter format .
|
||||
- run: flutter test
|
||||
Loading…
Add table
Add a link
Reference in a new issue