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
2 changes: 1 addition & 1 deletion .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,5 +80,5 @@ jobs:
cache: true
- uses: bluefireteam/melos-action@v3
- name: Run tests
run: melos test
run: melos run test:select --no-select
# END TESTING STAGE
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ For a contribution to be accepted:

- Follow the [Style Guide] when writing the code;
- Format the code using `dart format .`;
- Lint the code with `melos run analyze`;
- Check that all tests pass: `melos run test`;
- Lint the code with `melos analyze`;
- Check that all tests pass: `melos test`;
- Documentation should always be updated or added (if applicable);
- Examples should always be updated or added (if applicable);
- Tests should always be updated or added (if applicable) -- check the [Test writing guide] for
Expand Down
12 changes: 2 additions & 10 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ environment:
sdk: ">=3.11.0 <4.0.0"

dev_dependencies:
melos: ^7.4.0
melos: ^8.1.0

melos:
command:
Expand Down Expand Up @@ -107,14 +107,10 @@ melos:
scripts:
lint:all:
steps:
- analyze
- melos analyze
- format
description: Run all static analysis checks.

analyze:
run: melos exec dart analyze .
description: Run `dart analyze` for all packages.

format-check:
run: melos exec dart format . --set-exit-if-changed
description: Run `dart format` checks for all packages.
Expand Down Expand Up @@ -161,10 +157,6 @@ melos:
dirExists: test
description: Run `flutter test` for selected packages.

test:
run: melos run test:select --no-select
description: Run all Flutter tests in this project.

test:seeded:
run: melos exec -c 1 -- flutter test --dart-define=RANDOM_SEED=$RANDOM_SEED
packageFilters:
Expand Down
Loading