name: test on: pull_request: branches: [main] types: [opened, synchronize, reopened] push: branches: [main] concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true permissions: contents: read jobs: test: runs-on: blacksmith-4vcpu-ubuntu-2404 steps: - name: Checkout Repository uses: actions/checkout@v4 - name: Set up Flutter uses: subosito/flutter-action@v2 with: channel: "stable" flutter-version: 3.47.2 cache: true - name: Setup .env run: touch .env - name: Install dependencies run: flutter pub get --enforce-lockfile - name: Run code generation run: dart run build_runner build --delete-conflicting-outputs - name: Run tests run: >- flutter test --test-randomize-ordering-seed=random --reporter=expanded