chore(celest): Update example #67
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: celest_cli | |
| on: | |
| pull_request: | |
| paths: | |
| - ".github/workflows/celest_cli.yaml" | |
| - "apps/cli/**" | |
| - "packages/**" | |
| - "services/**" | |
| # Prevent duplicate runs due to Graphite | |
| # https://graphite.dev/docs/troubleshooting#why-are-my-actions-running-twice | |
| concurrency: | |
| group: ${{ github.repository }}-${{ github.workflow }}-${{ github.ref }}-${{ github.ref == 'refs/heads/main' && github.sha || ''}} | |
| cancel-in-progress: true | |
| env: | |
| CELEST_LOCAL_PATH: ${{ github.workspace }} | |
| jobs: | |
| test: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: | |
| - ubuntu-latest | |
| - macos-latest | |
| - windows-latest | |
| runs-on: ${{ matrix.os }} | |
| timeout-minutes: 30 # Windows is really slow | |
| steps: | |
| - name: Git Checkout | |
| uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2 | |
| - name: Setup Flutter | |
| uses: subosito/flutter-action@f2c4f6686ca8e8d6e6d0f28410eeef506ed66aff # 2.18.0 | |
| with: | |
| cache: true | |
| # Because many golden tests encode the precise Dart/Flutter SDKs used to generate | |
| # them, these values must be consistently used when running tests locally and in CI. | |
| flutter-version: 3.29.2 | |
| - name: Setup Libsecret | |
| if: runner.os == 'Linux' | |
| run: tool/setup-ci.sh | |
| - name: Get Packages | |
| working-directory: apps/cli | |
| run: dart pub upgrade | |
| - name: Test | |
| working-directory: apps/cli | |
| run: dart test -x e2e --fail-fast -j 1 | |
| - name: Test (Fixtures) | |
| working-directory: apps/cli | |
| run: dart test fixtures/fixtures_test.dart --fail-fast -j 1 |