feat(ECOM-11): password #26
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 of your github action | |
| name: Flutter Unit Testing Action | |
| ## when will the action trigger | |
| on: | |
| pull_request: | |
| types: | |
| - opened | |
| - edited | |
| - synchronize | |
| - reopened | |
| ## the action script | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Clone repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Flutter | |
| uses: subosito/flutter-action@v2 | |
| with: | |
| channel: stable | |
| flutter-version: 3.35.2 | |
| - run: flutter --version | |
| - name: Install packages | |
| run: flutter pub get | |
| - name: Run generator | |
| run: flutter pub run build_runner build --delete-conflicting-outputs | |
| - name: Run test | |
| run: flutter test test |