forked from eatvio/eatvio_app
ci(tests): tests added
This commit is contained in:
@@ -33,7 +33,7 @@ jobs:
|
||||
uses: actions/flutter-action@v2
|
||||
with:
|
||||
channel: ${{ env.flutter_channel }}
|
||||
flutter-version: ${{ env.flutter_version }}
|
||||
flutter-version: ${{ env.flutter_version }}
|
||||
cache: true
|
||||
|
||||
- name: show cache keys
|
||||
@@ -49,7 +49,7 @@ jobs:
|
||||
|
||||
- name: fix dir permissions
|
||||
run: |
|
||||
git config --global --add safe.directory /opt/hostedtoolcache/flutter/stable-3.19.0-x64
|
||||
git config --global --add safe.directory /opt/hostedtoolcache/flutter/${{ env.flutter_channel }}-${{ env.flutter_version }}-${{ steps.flutter-action.outputs.ARCHITECTURE }}
|
||||
flutter --version
|
||||
|
||||
- name: Get dependencies
|
||||
@@ -64,8 +64,8 @@ jobs:
|
||||
- name: Test
|
||||
run: |
|
||||
touch .env
|
||||
flutter test --coverage
|
||||
|
||||
flutter test
|
||||
|
||||
# - name: Build apk
|
||||
# run: flutter build apk
|
||||
|
||||
|
||||
Reference in New Issue
Block a user