This file contains hidden or 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: Unit test and lint | |
| on: [push, pull_request] | |
| jobs: | |
| lint-and-test: | |
| name: Test on ${{ matrix.os }} | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, windows-latest, macOS-latest] | |
| steps: |
This file contains hidden or 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
| - repository root | |
| - .github | |
| - ISSUE_TEMPLATE | |
| - PULL_REQUEST_TEMPLATE | |
| - workflows | |
| - action1.yml | |
| - action2.yml | |
| ... | |
| - your code |
This file contains hidden or 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: Android build check | |
| on: [push, pull_request] | |
| jobs: | |
| build-Android: | |
| name: Build Android apk | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v1 | |
| - uses: actions/setup-java@v1 | |
| with: |
This file contains hidden or 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: iOS build check | |
| on: [push, pull_request] | |
| jobs: | |
| build-iOS: | |
| name: Build iOS package | |
| runs-on: macOS-latest | |
| steps: | |
| - uses: actions/checkout@v1 | |
| - uses: actions/setup-java@v1 | |
| with: |
This file contains hidden or 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: Checkin | |
| on: [push, pull_request] | |
| jobs: | |
| lint-and-test: | |
| name: Test on ${{ matrix.os }} | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, windows-latest, macOS-latest] | |
| steps: |
This file contains hidden or 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
| flutter channel master | |
| flutter config --enable-web | |
| flutter doctor -v |
This file contains hidden or 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
| test('Server defaults', () async { | |
| final WebServerDevice device = WebServerDevice(); | |
| expect(device.name, 'Headless Server'); | |
| expect(device.id, 'headless-server'); | |
| expect(device.supportsHotReload, true); | |
| expect(device.supportsHotRestart, true); | |
| expect(device.supportsStartPaused, true); | |
| expect(device.supportsFlutterExit, true); | |
| expect(device.supportsScreenshot, false); |
This file contains hidden or 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
| flutter run -d headless-server |
This file contains hidden or 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: Checkin checks | |
| on: | |
| push: | |
| branches: | |
| - "master" | |
| - "dev/*" | |
| paths: | |
| - "iwfpapp/**" | |
| - ".github/**" | |
| pull_request: |
This file contains hidden or 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: Merge | |
| on: | |
| pull_request: | |
| branches: | |
| - "master" | |
| jobs: | |
| build-doc: | |
| name: Build docs | |
| runs-on: ubuntu-latest | |
| steps: |