Jonatas

change flutter test for dart tests on instance and rx dependencies

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