Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ jobs:
- name: Analyze
run: melos run analyze.ci

- name: Test
run: melos run test.ci

typescript:
name: TypeScript
runs-on: ubuntu-latest
Expand All @@ -53,3 +56,7 @@ jobs:
- name: Type check
working-directory: apps/widgets_preview
run: npm run typecheck

- name: Test
working-directory: apps/widgets_preview
run: npm run test
18 changes: 18 additions & 0 deletions melos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,21 @@ scripts:
description: Analyze codebase and check for analysis errors
run: >
dart analyze --fatal-infos --fatal-warnings .

test:
description: Run tests
run: >
flutter test
exec:
concurrency: 1
packageFilters:
dirExists:
- test
test.all:
description: Run tests for all packages
run: >
melos run --no-select test
test.ci:
description: Run tests and fail on any test error
run: >
melos exec -- flutter test
Loading