feat: add written quizzes #181
Workflow file for this run
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: Educators Mobile App | |
| on: | |
| pull_request: | |
| branches: ["development"] | |
| paths: | |
| - "mobile/**" | |
| - ".github/workflows/mobile.yaml" | |
| jobs: | |
| analyze: | |
| name: Analyze | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v4 | |
| - name: Setup Flutter | |
| uses: subosito/flutter-action@v2 | |
| with: | |
| channel: stable | |
| - name: Install Dependencies | |
| run: flutter pub get | |
| working-directory: ./mobile | |
| - name: Generate mocks | |
| run: dart run build_runner build | |
| working-directory: ./mobile/ | |
| - name: Analyze Code | |
| run: flutter analyze | |
| working-directory: ./mobile/ | |
| test: | |
| name: Run tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v4 | |
| - name: Setup Flutter | |
| uses: subosito/flutter-action@v2 | |
| with: | |
| channel: stable | |
| - name: Install Dependencies | |
| run: flutter pub get | |
| working-directory: ./mobile/ | |
| - name: Generate mocks | |
| run: dart run build_runner build | |
| working-directory: ./mobile/ | |
| - name: Run tests | |
| run: flutter test | |
| working-directory: ./mobile/ | |
| # build-apk: | |
| # name: Build APK | |
| # runs-on: ubuntu-latest | |
| # steps: | |
| # - name: Checkout Repository | |
| # uses: actions/checkout@v4 | |
| # - name: Setup Flutter | |
| # uses: subosito/flutter-action@v2 | |
| # with: | |
| # channel: stable | |
| # - name: Accept Licenses | |
| # run: | | |
| # yes | sdkmanager --licenses | |
| # - name: Install Dependencies | |
| # run: flutter pub get | |
| # working-directory: ./mobile/educators | |
| # - name: Build APK | |
| # run: flutter build apk --release | |
| # working-directory: ./mobile/educators | |
| # build-aab: | |
| # name: Build App Bundle | |
| # runs-on: ubuntu-latest | |
| # steps: | |
| # - name: Checkout Repository | |
| # uses: actions/checkout@v4 | |
| # - name: Setup Flutter | |
| # uses: subosito/flutter-action@v2 | |
| # with: | |
| # channel: stable | |
| # - name: Accept Licenses | |
| # run: | | |
| # yes | sdkmanager --licenses | |
| # - name: Install Dependencies | |
| # run: flutter pub get | |
| # working-directory: ./mobile/educators | |
| # - name: Build App Bundle | |
| # run: flutter build appbundle | |
| # working-directory: ./mobile/educators |