Skip to content

Commit

Permalink
remove test dependencies from packages that don't need them
Browse files Browse the repository at this point in the history
update CI workflow
  • Loading branch information
ardera committed Feb 24, 2022
1 parent 4ceb856 commit 753f87b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 22 deletions.
30 changes: 12 additions & 18 deletions .github/workflows/dart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,28 +19,22 @@ jobs:

- name: Setup melos
run: dart pub global activate melos

- name: Melos bootstrap

- name: flutter precache
run: flutter precache

- name: melos bootstrap
run: dart pub global run melos bootstrap

- name: Check formatting (dart)
run: dart pub global run melos exec --no-flutter -- dart format --output=none --set-exit-if-changed .

- name: Analyze project source (dart)
run: dart pub global run melos exec --no-flutter -- dart analyze --fatal-infos
- name: flutter format
run: dart pub global run melos exec flutter format --output=none --set-exit-if-changed .

- name: Run general tests (dart)
run: dart pub global run melos exec --no-flutter -- dart test
- name: flutter analyze
run: dart pub global run melos exec flutter analyze --fatal-infos

- name: Check formatting (flutter)
run: dart pub global run melos exec --no-flutter -- flutter format --output=none --set-exit-if-changed .
- name: melos test
run: dart pub global run melos test

- name: Analyze project source (flutter)
run: dart pub global run melos exec --no-flutter -- flutter analyze --fatal-infos

- name: Run general tests (flutter)
run: dart pub global run melos exec --no-flutter -- flutter test

- name: Run flutter_gpiod_test_app on ODROID C4
- name: run flutter_gpiod_test_app on ODROID C4
working-directory: packages/flutter_gpiod_test_app
run: flutter test -d "ODROID C4" -t odroidc4 integration_test/gpio_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,3 @@ dev_dependencies:
_ardera_libc_bindings_generator:
path: ../
pedantic: ^1.10.0
test: ^1.16.0
3 changes: 0 additions & 3 deletions packages/flutter_gpiod/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ repository: https://github.com/ardera/flutter_packages
environment:
sdk: '>=2.14.0 <3.0.0'

dev_dependencies:
test: ^1.16.0

dependencies:
meta: ^1.3.0
ffi: ^1.0.0
Expand Down

0 comments on commit 753f87b

Please sign in to comment.