2022-06-19 13:16:35 +00:00
|
|
|
name: Test
|
|
|
|
on:
|
2022-07-16 05:48:35 +00:00
|
|
|
workflow_dispatch:
|
2022-06-19 13:16:35 +00:00
|
|
|
pull_request:
|
2022-08-11 13:27:44 +00:00
|
|
|
push:
|
|
|
|
branches: [main]
|
2022-06-19 13:16:35 +00:00
|
|
|
|
2023-02-19 16:44:53 +00:00
|
|
|
concurrency:
|
|
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
|
|
cancel-in-progress: true
|
|
|
|
|
2022-06-19 13:16:35 +00:00
|
|
|
jobs:
|
2023-04-24 17:49:20 +00:00
|
|
|
doc-tests:
|
2023-11-29 03:07:47 +00:00
|
|
|
name: Docs
|
2023-04-24 17:49:20 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
defaults:
|
|
|
|
run:
|
|
|
|
working-directory: ./docs
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Checkout code
|
2023-09-06 01:50:22 +00:00
|
|
|
uses: actions/checkout@v4
|
2023-04-24 17:49:20 +00:00
|
|
|
|
|
|
|
- name: Run npm install
|
|
|
|
run: npm ci
|
|
|
|
|
|
|
|
- name: Run formatter
|
|
|
|
run: npm run format
|
|
|
|
if: ${{ !cancelled() }}
|
|
|
|
|
2023-11-29 02:27:01 +00:00
|
|
|
- name: Run build
|
|
|
|
run: npm run build
|
|
|
|
if: ${{ !cancelled() }}
|
|
|
|
|
2022-09-08 09:07:27 +00:00
|
|
|
server-unit-tests:
|
2023-11-29 03:07:47 +00:00
|
|
|
name: Server
|
2022-08-11 13:27:44 +00:00
|
|
|
runs-on: ubuntu-latest
|
2023-04-12 20:17:27 +00:00
|
|
|
defaults:
|
|
|
|
run:
|
|
|
|
working-directory: ./server
|
2022-08-11 13:27:44 +00:00
|
|
|
|
2022-08-11 18:46:11 +00:00
|
|
|
steps:
|
2022-08-11 13:27:44 +00:00
|
|
|
- name: Checkout code
|
2023-09-06 01:50:22 +00:00
|
|
|
uses: actions/checkout@v4
|
2022-08-11 13:27:44 +00:00
|
|
|
|
2023-04-12 20:17:27 +00:00
|
|
|
- name: Run npm install
|
|
|
|
run: npm ci
|
|
|
|
|
|
|
|
- name: Run linter
|
|
|
|
run: npm run lint
|
|
|
|
if: ${{ !cancelled() }}
|
|
|
|
|
|
|
|
- name: Run formatter
|
|
|
|
run: npm run format
|
|
|
|
if: ${{ !cancelled() }}
|
|
|
|
|
|
|
|
- name: Run tsc
|
|
|
|
run: npm run check
|
|
|
|
if: ${{ !cancelled() }}
|
|
|
|
|
|
|
|
- name: Run unit tests & coverage
|
|
|
|
run: npm run test:cov
|
|
|
|
if: ${{ !cancelled() }}
|
2022-09-08 15:44:13 +00:00
|
|
|
|
2023-07-06 14:37:47 +00:00
|
|
|
cli-unit-tests:
|
2023-11-29 03:07:47 +00:00
|
|
|
name: CLI
|
2023-07-06 14:37:47 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
defaults:
|
|
|
|
run:
|
|
|
|
working-directory: ./cli
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Checkout code
|
2023-09-06 01:50:22 +00:00
|
|
|
uses: actions/checkout@v4
|
2023-07-06 14:37:47 +00:00
|
|
|
|
2024-02-03 05:44:53 +00:00
|
|
|
- name: Setup Node
|
|
|
|
uses: actions/setup-node@v4
|
|
|
|
with:
|
|
|
|
node-version: 20
|
|
|
|
|
2024-03-14 17:09:27 +00:00
|
|
|
- name: Setup typescript-sdk
|
2024-01-12 12:36:27 +00:00
|
|
|
run: npm ci && npm run build
|
|
|
|
working-directory: ./open-api/typescript-sdk
|
|
|
|
|
2024-03-14 17:09:27 +00:00
|
|
|
- name: Install deps
|
2023-07-06 14:37:47 +00:00
|
|
|
run: npm ci
|
|
|
|
|
|
|
|
- name: Run linter
|
|
|
|
run: npm run lint
|
|
|
|
if: ${{ !cancelled() }}
|
|
|
|
|
|
|
|
- name: Run formatter
|
|
|
|
run: npm run format
|
|
|
|
if: ${{ !cancelled() }}
|
|
|
|
|
2023-11-19 22:16:24 +00:00
|
|
|
- name: Run tsc
|
|
|
|
run: npm run check
|
|
|
|
if: ${{ !cancelled() }}
|
|
|
|
|
2023-07-06 14:37:47 +00:00
|
|
|
- name: Run unit tests & coverage
|
|
|
|
run: npm run test:cov
|
|
|
|
if: ${{ !cancelled() }}
|
|
|
|
|
2022-09-08 15:44:13 +00:00
|
|
|
web-unit-tests:
|
2023-11-29 03:07:47 +00:00
|
|
|
name: Web
|
2022-09-08 15:44:13 +00:00
|
|
|
runs-on: ubuntu-latest
|
2023-04-12 20:17:27 +00:00
|
|
|
defaults:
|
|
|
|
run:
|
|
|
|
working-directory: ./web
|
2022-09-08 15:44:13 +00:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Checkout code
|
2023-09-06 01:50:22 +00:00
|
|
|
uses: actions/checkout@v4
|
2022-09-08 15:44:13 +00:00
|
|
|
|
2024-01-12 12:36:27 +00:00
|
|
|
- name: Run setup typescript-sdk
|
|
|
|
run: npm ci && npm run build
|
|
|
|
working-directory: ./open-api/typescript-sdk
|
|
|
|
|
2023-04-12 20:17:27 +00:00
|
|
|
- name: Run npm install
|
|
|
|
run: npm ci
|
|
|
|
|
|
|
|
- name: Run linter
|
|
|
|
run: npm run lint
|
|
|
|
if: ${{ !cancelled() }}
|
|
|
|
|
|
|
|
- name: Run formatter
|
|
|
|
run: npm run format
|
|
|
|
if: ${{ !cancelled() }}
|
|
|
|
|
|
|
|
- name: Run svelte checks
|
2023-06-02 13:55:08 +00:00
|
|
|
run: npm run check:svelte
|
|
|
|
if: ${{ !cancelled() }}
|
|
|
|
|
|
|
|
- name: Run tsc
|
|
|
|
run: npm run check:typescript
|
2023-04-12 20:17:27 +00:00
|
|
|
if: ${{ !cancelled() }}
|
|
|
|
|
2024-01-01 17:36:49 +00:00
|
|
|
- name: Run unit tests & coverage
|
|
|
|
run: npm run test:cov
|
|
|
|
if: ${{ !cancelled() }}
|
2023-01-25 16:10:04 +00:00
|
|
|
|
2024-02-19 22:25:57 +00:00
|
|
|
e2e-tests:
|
|
|
|
name: End-to-End Tests
|
2024-02-13 18:08:49 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
defaults:
|
|
|
|
run:
|
|
|
|
working-directory: ./e2e
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Checkout code
|
|
|
|
uses: actions/checkout@v4
|
2024-02-19 22:25:57 +00:00
|
|
|
with:
|
2024-02-29 16:26:55 +00:00
|
|
|
submodules: 'recursive'
|
2024-02-19 22:25:57 +00:00
|
|
|
|
|
|
|
- name: Setup Node
|
|
|
|
uses: actions/setup-node@v4
|
|
|
|
with:
|
|
|
|
node-version: 20
|
2024-02-13 18:08:49 +00:00
|
|
|
|
|
|
|
- name: Run setup typescript-sdk
|
|
|
|
run: npm ci && npm run build
|
|
|
|
working-directory: ./open-api/typescript-sdk
|
2024-02-29 16:26:55 +00:00
|
|
|
if: ${{ !cancelled() }}
|
2024-02-13 18:08:49 +00:00
|
|
|
|
2024-02-19 22:25:57 +00:00
|
|
|
- name: Run setup cli
|
|
|
|
run: npm ci && npm run build
|
|
|
|
working-directory: ./cli
|
2024-02-29 16:26:55 +00:00
|
|
|
if: ${{ !cancelled() }}
|
2024-02-19 22:25:57 +00:00
|
|
|
|
2024-02-13 18:08:49 +00:00
|
|
|
- name: Install dependencies
|
|
|
|
run: npm ci
|
2024-02-29 16:26:55 +00:00
|
|
|
if: ${{ !cancelled() }}
|
|
|
|
|
|
|
|
- name: Run linter
|
|
|
|
run: npm run lint
|
|
|
|
if: ${{ !cancelled() }}
|
|
|
|
|
|
|
|
- name: Run formatter
|
|
|
|
run: npm run format
|
|
|
|
if: ${{ !cancelled() }}
|
2024-02-13 18:08:49 +00:00
|
|
|
|
2024-03-09 23:18:25 +00:00
|
|
|
- name: Run tsc
|
|
|
|
run: npm run check
|
|
|
|
if: ${{ !cancelled() }}
|
|
|
|
|
2024-02-13 18:08:49 +00:00
|
|
|
- name: Install Playwright Browsers
|
2024-02-29 14:22:25 +00:00
|
|
|
run: npx playwright install --with-deps chromium
|
2024-02-29 16:26:55 +00:00
|
|
|
if: ${{ !cancelled() }}
|
2024-02-13 18:08:49 +00:00
|
|
|
|
|
|
|
- name: Docker build
|
2024-02-19 17:03:51 +00:00
|
|
|
run: docker compose build
|
2024-02-29 16:26:55 +00:00
|
|
|
if: ${{ !cancelled() }}
|
2024-02-13 18:08:49 +00:00
|
|
|
|
2024-02-19 22:25:57 +00:00
|
|
|
- name: Run e2e tests (api & cli)
|
|
|
|
run: npm run test
|
2024-02-29 16:26:55 +00:00
|
|
|
if: ${{ !cancelled() }}
|
2024-02-19 17:03:51 +00:00
|
|
|
|
2024-02-19 22:25:57 +00:00
|
|
|
- name: Run e2e tests (web)
|
|
|
|
run: npx playwright test
|
2024-02-29 16:26:55 +00:00
|
|
|
if: ${{ !cancelled() }}
|
2024-02-19 17:03:51 +00:00
|
|
|
|
2023-01-25 16:10:04 +00:00
|
|
|
mobile-unit-tests:
|
2023-11-29 03:07:47 +00:00
|
|
|
name: Mobile
|
2023-01-25 16:10:04 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2023-09-06 01:50:22 +00:00
|
|
|
- uses: actions/checkout@v4
|
2023-01-25 16:10:04 +00:00
|
|
|
- name: Setup Flutter SDK
|
|
|
|
uses: subosito/flutter-action@v2
|
|
|
|
with:
|
2024-02-29 16:26:55 +00:00
|
|
|
channel: 'stable'
|
2024-05-16 15:58:02 +00:00
|
|
|
flutter-version: '3.22.0'
|
2023-01-25 16:10:04 +00:00
|
|
|
- name: Run tests
|
|
|
|
working-directory: ./mobile
|
2023-05-17 17:36:02 +00:00
|
|
|
run: flutter test -j 1
|
2023-01-25 16:10:04 +00:00
|
|
|
|
2023-06-27 23:21:33 +00:00
|
|
|
ml-unit-tests:
|
2023-11-29 03:07:47 +00:00
|
|
|
name: Machine Learning
|
2023-06-27 23:21:33 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
defaults:
|
|
|
|
run:
|
|
|
|
working-directory: ./machine-learning
|
|
|
|
steps:
|
2023-09-06 01:50:22 +00:00
|
|
|
- uses: actions/checkout@v4
|
2023-06-27 23:21:33 +00:00
|
|
|
- name: Install poetry
|
|
|
|
run: pipx install poetry
|
2023-12-07 13:14:19 +00:00
|
|
|
- uses: actions/setup-python@v5
|
2023-06-27 23:21:33 +00:00
|
|
|
with:
|
|
|
|
python-version: 3.11
|
2024-02-29 16:26:55 +00:00
|
|
|
cache: 'poetry'
|
2023-06-27 23:21:33 +00:00
|
|
|
- name: Install dependencies
|
|
|
|
run: |
|
2024-01-21 23:22:39 +00:00
|
|
|
poetry install --with dev --with cpu
|
2023-06-27 23:21:33 +00:00
|
|
|
- name: Lint with ruff
|
|
|
|
run: |
|
2023-12-26 03:37:48 +00:00
|
|
|
poetry run ruff check --output-format=github app export
|
2023-06-27 23:21:33 +00:00
|
|
|
- name: Check black formatting
|
|
|
|
run: |
|
2023-11-13 16:18:46 +00:00
|
|
|
poetry run black --check app export
|
2023-06-27 23:21:33 +00:00
|
|
|
- name: Run mypy type checking
|
|
|
|
run: |
|
2023-12-21 01:47:56 +00:00
|
|
|
poetry run mypy --install-types --non-interactive --strict app/
|
2023-06-27 23:21:33 +00:00
|
|
|
- name: Run tests and coverage
|
|
|
|
run: |
|
2024-02-11 22:58:56 +00:00
|
|
|
poetry run pytest app --cov=app --cov-report term-missing
|
2023-06-27 23:21:33 +00:00
|
|
|
|
2024-02-18 23:03:01 +00:00
|
|
|
shellcheck:
|
|
|
|
name: ShellCheck
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Run ShellCheck
|
|
|
|
uses: ludeeus/action-shellcheck@master
|
|
|
|
with:
|
|
|
|
ignore_paths: >-
|
|
|
|
**/open-api/**
|
|
|
|
**/openapi/**
|
|
|
|
**/node_modules/**
|
|
|
|
|
2023-02-19 16:44:53 +00:00
|
|
|
generated-api-up-to-date:
|
2023-11-29 03:07:47 +00:00
|
|
|
name: OpenAPI Clients
|
2023-02-19 16:44:53 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2024-05-23 11:40:57 +00:00
|
|
|
- name: Checkout code
|
|
|
|
uses: actions/checkout@v4
|
|
|
|
|
|
|
|
- name: Install server dependencies
|
|
|
|
run: npm --prefix=server ci
|
|
|
|
|
|
|
|
- name: Build the app
|
|
|
|
run: npm --prefix=server run build
|
|
|
|
|
2023-02-19 16:44:53 +00:00
|
|
|
- name: Run API generation
|
2024-01-12 12:36:27 +00:00
|
|
|
run: make open-api
|
2024-05-23 11:40:57 +00:00
|
|
|
|
2023-02-19 16:44:53 +00:00
|
|
|
- name: Find file changes
|
2024-05-08 03:22:22 +00:00
|
|
|
uses: tj-actions/verify-changed-files@v20
|
2023-02-19 16:44:53 +00:00
|
|
|
id: verify-changed-files
|
|
|
|
with:
|
|
|
|
files: |
|
|
|
|
mobile/openapi
|
2024-01-12 12:36:27 +00:00
|
|
|
open-api/typescript-sdk
|
2024-05-23 11:40:57 +00:00
|
|
|
open-api/immich-openapi-specs.json
|
|
|
|
|
2023-02-19 16:44:53 +00:00
|
|
|
- name: Verify files have not changed
|
|
|
|
if: steps.verify-changed-files.outputs.files_changed == 'true'
|
|
|
|
run: |
|
|
|
|
echo "ERROR: Generated files not up to date!"
|
|
|
|
echo "Changed files: ${{ steps.verify-changed-files.outputs.changed_files }}"
|
|
|
|
exit 1
|
|
|
|
|
2023-02-20 01:50:27 +00:00
|
|
|
generated-typeorm-migrations-up-to-date:
|
2023-11-30 15:10:30 +00:00
|
|
|
name: TypeORM Checks
|
2023-02-20 01:50:27 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
services:
|
|
|
|
postgres:
|
2024-02-13 01:01:03 +00:00
|
|
|
image: tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0
|
2023-02-20 01:50:27 +00:00
|
|
|
env:
|
|
|
|
POSTGRES_PASSWORD: postgres
|
|
|
|
POSTGRES_USER: postgres
|
|
|
|
POSTGRES_DB: immich
|
|
|
|
options: >-
|
|
|
|
--health-cmd pg_isready
|
|
|
|
--health-interval 10s
|
|
|
|
--health-timeout 5s
|
|
|
|
--health-retries 5
|
|
|
|
ports:
|
|
|
|
- 5432:5432
|
2023-10-05 16:35:58 +00:00
|
|
|
defaults:
|
|
|
|
run:
|
|
|
|
working-directory: ./server
|
|
|
|
|
2023-02-20 01:50:27 +00:00
|
|
|
steps:
|
2023-10-05 16:35:58 +00:00
|
|
|
- name: Checkout code
|
|
|
|
uses: actions/checkout@v4
|
|
|
|
|
2023-02-20 01:50:27 +00:00
|
|
|
- name: Install server dependencies
|
2023-10-05 16:35:58 +00:00
|
|
|
run: npm ci
|
|
|
|
|
2023-11-30 15:10:30 +00:00
|
|
|
- name: Build the app
|
2023-10-05 16:35:58 +00:00
|
|
|
run: npm run build
|
|
|
|
|
2023-02-20 01:50:27 +00:00
|
|
|
- name: Run existing migrations
|
2023-10-05 16:35:58 +00:00
|
|
|
run: npm run typeorm:migrations:run
|
|
|
|
|
2023-12-29 18:41:33 +00:00
|
|
|
- name: Test npm run schema:reset command works
|
|
|
|
run: npm run typeorm:schema:reset
|
|
|
|
|
2023-02-20 01:50:27 +00:00
|
|
|
- name: Generate new migrations
|
|
|
|
continue-on-error: true
|
2024-03-20 21:02:51 +00:00
|
|
|
run: npm run typeorm:migrations:generate ./src/migrations/TestMigration
|
2023-10-05 16:35:58 +00:00
|
|
|
|
2023-02-20 01:50:27 +00:00
|
|
|
- name: Find file changes
|
2024-05-08 03:22:22 +00:00
|
|
|
uses: tj-actions/verify-changed-files@v20
|
2023-02-20 01:50:27 +00:00
|
|
|
id: verify-changed-files
|
|
|
|
with:
|
|
|
|
files: |
|
2024-03-20 21:02:51 +00:00
|
|
|
server/src/migrations/
|
2023-11-30 15:10:30 +00:00
|
|
|
- name: Verify migration files have not changed
|
2023-02-20 01:50:27 +00:00
|
|
|
if: steps.verify-changed-files.outputs.files_changed == 'true'
|
|
|
|
run: |
|
2023-11-30 15:10:30 +00:00
|
|
|
echo "ERROR: Generated migration files not up to date!"
|
2023-02-20 01:50:27 +00:00
|
|
|
echo "Changed files: ${{ steps.verify-changed-files.outputs.changed_files }}"
|
|
|
|
exit 1
|
|
|
|
|
2023-11-30 15:10:30 +00:00
|
|
|
- name: Run SQL generation
|
2024-05-23 11:40:57 +00:00
|
|
|
run: npm run sync:sql
|
2023-12-08 16:15:46 +00:00
|
|
|
env:
|
|
|
|
DB_URL: postgres://postgres:postgres@localhost:5432/immich
|
2023-11-30 15:10:30 +00:00
|
|
|
|
|
|
|
- name: Find file changes
|
2024-05-08 03:22:22 +00:00
|
|
|
uses: tj-actions/verify-changed-files@v20
|
2023-11-30 15:10:30 +00:00
|
|
|
id: verify-changed-sql-files
|
|
|
|
with:
|
|
|
|
files: |
|
2024-03-21 03:15:09 +00:00
|
|
|
server/src/queries
|
2023-11-30 15:10:30 +00:00
|
|
|
|
|
|
|
- name: Verify SQL files have not changed
|
|
|
|
if: steps.verify-changed-sql-files.outputs.files_changed == 'true'
|
|
|
|
run: |
|
|
|
|
echo "ERROR: Generated SQL files not up to date!"
|
|
|
|
echo "Changed files: ${{ steps.verify-changed-sql-files.outputs.changed_files }}"
|
|
|
|
exit 1
|
|
|
|
|
2023-03-17 03:15:12 +00:00
|
|
|
# mobile-integration-tests:
|
|
|
|
# name: Run mobile end-to-end integration tests
|
|
|
|
# runs-on: macos-latest
|
|
|
|
# steps:
|
2023-09-06 01:50:22 +00:00
|
|
|
# - uses: actions/checkout@v4
|
2023-03-17 03:15:12 +00:00
|
|
|
# - uses: actions/setup-java@v3
|
|
|
|
# with:
|
|
|
|
# distribution: 'zulu'
|
|
|
|
# java-version: '12.x'
|
|
|
|
# cache: 'gradle'
|
|
|
|
# - name: Cache android SDK
|
|
|
|
# uses: actions/cache@v3
|
|
|
|
# id: android-sdk
|
|
|
|
# with:
|
|
|
|
# key: android-sdk
|
|
|
|
# path: |
|
|
|
|
# /usr/local/lib/android/
|
|
|
|
# ~/.android
|
|
|
|
# - name: Cache Gradle
|
|
|
|
# uses: actions/cache@v3
|
|
|
|
# with:
|
|
|
|
# path: |
|
|
|
|
# ./mobile/build/
|
|
|
|
# ./mobile/android/.gradle/
|
|
|
|
# key: ${{ runner.os }}-flutter-${{ hashFiles('**/*.gradle*', 'pubspec.lock') }}
|
|
|
|
# - name: Setup Android SDK
|
|
|
|
# if: steps.android-sdk.outputs.cache-hit != 'true'
|
|
|
|
# uses: android-actions/setup-android@v2
|
|
|
|
# - name: AVD cache
|
|
|
|
# uses: actions/cache@v3
|
|
|
|
# id: avd-cache
|
|
|
|
# with:
|
|
|
|
# path: |
|
|
|
|
# ~/.android/avd/*
|
|
|
|
# ~/.android/adb*
|
|
|
|
# key: avd-29
|
|
|
|
# - name: create AVD and generate snapshot for caching
|
|
|
|
# if: steps.avd-cache.outputs.cache-hit != 'true'
|
|
|
|
# uses: reactivecircus/android-emulator-runner@v2.27.0
|
|
|
|
# with:
|
|
|
|
# working-directory: ./mobile
|
|
|
|
# cores: 2
|
|
|
|
# api-level: 29
|
|
|
|
# arch: x86_64
|
|
|
|
# profile: pixel
|
|
|
|
# target: default
|
|
|
|
# force-avd-creation: false
|
|
|
|
# emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
|
|
|
|
# disable-animations: false
|
|
|
|
# script: echo "Generated AVD snapshot for caching."
|
|
|
|
# - name: Setup Flutter SDK
|
|
|
|
# uses: subosito/flutter-action@v2
|
|
|
|
# with:
|
|
|
|
# channel: 'stable'
|
|
|
|
# flutter-version: '3.7.3'
|
|
|
|
# cache: true
|
|
|
|
# - name: Run integration tests
|
|
|
|
# uses: Wandalen/wretry.action@master
|
|
|
|
# with:
|
|
|
|
# action: reactivecircus/android-emulator-runner@v2.27.0
|
|
|
|
# with: |
|
|
|
|
# working-directory: ./mobile
|
|
|
|
# cores: 2
|
|
|
|
# api-level: 29
|
|
|
|
# arch: x86_64
|
|
|
|
# profile: pixel
|
|
|
|
# target: default
|
|
|
|
# force-avd-creation: false
|
|
|
|
# emulator-options: -no-snapshot-save -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
|
|
|
|
# disable-animations: true
|
|
|
|
# script: |
|
|
|
|
# flutter pub get
|
|
|
|
# flutter test integration_test
|
|
|
|
# attempt_limit: 3
|