Jonatas

change flutter test for dart tests on instance and rx dependencies

@@ -21,21 +21,16 @@ jobs: @@ -21,21 +21,16 @@ jobs:
21 working-directory: packages/get_instance 21 working-directory: packages/get_instance
22 runs-on: ubuntu-latest 22 runs-on: ubuntu-latest
23 #sequence of tasks called 23 #sequence of tasks called
  24 + container:
  25 + image: google/dart:2.8.4
24 steps: 26 steps:
25 - # The branch or tag ref that triggered the workflow will be checked out.  
26 - # https://github.com/actions/checkout  
27 - - uses: actions/checkout@v1  
28 - # Setup a flutter environment.  
29 - # https://github.com/marketplace/actions/flutter-action  
30 - - uses: subosito/flutter-action@v1  
31 - with:  
32 - flutter-version: '1.20.4'  
33 - channel: 'stable'  
34 - - run: flutter pub get  
35 - #- run: flutter analyze  
36 - # run flutter widgets tests and unit tests  
37 - - run: flutter test --coverage  
38 - # Upload coverage reports to Codecov  
39 - # https://github.com/marketplace/actions/codecov 27 + - uses: actions/checkout@v2
  28 + - name: Install Dependencies
  29 + run: pub get
  30 + - name: Format
  31 + run: dartfmt --dry-run --set-exit-if-changed .
  32 + - name: Analyze
  33 + run: dartanalyzer --fatal-infos --fatal-warnings lib test example
  34 + - name: Run tests
40 - uses: codecov/codecov-action@v1.0.7 35 - uses: codecov/codecov-action@v1.0.7
41 36
@@ -21,21 +21,16 @@ jobs: @@ -21,21 +21,16 @@ jobs:
21 working-directory: packages/get_rx 21 working-directory: packages/get_rx
22 runs-on: ubuntu-latest 22 runs-on: ubuntu-latest
23 #sequence of tasks called 23 #sequence of tasks called
  24 + container:
  25 + image: google/dart:2.8.4
24 steps: 26 steps:
25 - # The branch or tag ref that triggered the workflow will be checked out.  
26 - # https://github.com/actions/checkout  
27 - - uses: actions/checkout@v1  
28 - # Setup a flutter environment.  
29 - # https://github.com/marketplace/actions/flutter-action  
30 - - uses: subosito/flutter-action@v1  
31 - with:  
32 - flutter-version: '1.20.4'  
33 - channel: 'stable'  
34 - - run: flutter pub get  
35 - #- run: flutter analyze  
36 - # run flutter widgets tests and unit tests  
37 - - run: flutter test --coverage  
38 - # Upload coverage reports to Codecov  
39 - # https://github.com/marketplace/actions/codecov 27 + - uses: actions/checkout@v2
  28 + - name: Install Dependencies
  29 + run: pub get
  30 + - name: Format
  31 + run: dartfmt --dry-run --set-exit-if-changed .
  32 + - name: Analyze
  33 + run: dartanalyzer --fatal-infos --fatal-warnings lib test example
  34 + - name: Run tests
40 - uses: codecov/codecov-action@v1.0.7 35 - uses: codecov/codecov-action@v1.0.7
41 36