ci(tests): tests added

This commit is contained in:
Anatoliy Poloz
2024-02-27 18:07:03 +03:00
parent e655434ede
commit 9bbf65357e
2 changed files with 20 additions and 23 deletions

View File

@@ -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