mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-10-21 06:52:18 +02:00
ci: add a dart format gate and fix the one drifted test file
Format drift was unchecked in CI. Add the gate before analyze and include integration_test in the documented format commands.
This commit is contained in:
1 parent
acbc614f42
commit
0539a12f99
4 files changed
+6
-3
No files matched your search
@@ -19,7 +19,7 @@
|
||||
|
||||
<!-- Check only commands relevant to this change. Explain skipped checks below. -->
|
||||
|
||||
- [ ] `dart format --output=none --set-exit-if-changed lib test`
|
||||
- [ ] `dart format --output=none --set-exit-if-changed lib test integration_test`
|
||||
- [ ] `flutter analyze`
|
||||
- [ ] `flutter test`
|
||||
- [ ] `bash scripts/check_rust_backend.sh`
|
||||
|
||||
@@ -118,6 +118,9 @@ jobs:
|
||||
- name: Get Flutter dependencies
|
||||
run: flutter pub get
|
||||
|
||||
- name: Check formatting
|
||||
run: dart format --output=none --set-exit-if-changed lib test integration_test
|
||||
|
||||
- name: Analyze
|
||||
run: flutter analyze
|
||||
|
||||
|
||||
+1
-1
@@ -167,7 +167,7 @@ that policy.
|
||||
Flutter and Dart:
|
||||
|
||||
```bash
|
||||
fvm dart format --output=none --set-exit-if-changed lib test
|
||||
fvm dart format --output=none --set-exit-if-changed lib test integration_test
|
||||
fvm flutter analyze
|
||||
fvm flutter test
|
||||
```
|
||||
|
||||
@@ -115,7 +115,7 @@ void main() {
|
||||
isA<RemoteError>().having(
|
||||
(error) => error.toString(),
|
||||
'message',
|
||||
contains('_ThrowingTrack'),
|
||||
contains('_ThrowingTrack'),
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user