Update tests.yaml #375
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: Clone and checkout Flutter version | |
run: | | |
git clone https://github.com/flutter/flutter.git | |
cd flutter | |
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: Run Flutter doctor | |
run: flutter doctor | |
- name: Run tests | |
run: flutter test |