Update tests.yaml #372
This file contains 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: [self-hosted, macOS, ARM64] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
lfs: true | ||
- name: Checkout and install Flutter | ||
run: git clone https://github.com/flutter/flutter.git | ||
run: git checkout tags/3.19.0 | ||
- 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 doctor | ||
- name: Run tests | ||
run: flutter test |