Update the layouts example #496
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: Tests | |
| on: | |
| push: | |
| jobs: | |
| build: | |
| runs-on: macos-latest | |
| steps: | |
| - name: Configure git-lfs to ignore most files | |
| run: | | |
| git config --global lfs.fetchinclude 'test/**' | |
| - uses: actions/checkout@v3 | |
| with: | |
| lfs: true | |
| - name: Checkout and install Flutter | |
| run: git clone https://github.com/flutter/flutter.git | |
| - name: Add the Flutter path | |
| run: echo "$GITHUB_WORKSPACE/flutter/bin" >> $GITHUB_PATH | |
| - name: Set Flutter root | |
| run: echo "FLUTTER_ROOT=$GITHUB_WORKSPACE/flutter" >> $GITHUB_ENV | |
| - name: Setup flutter | |
| run: | | |
| flutter channel stable | |
| flutter doctor | |
| - name: Run tests | |
| run: flutter test |