Move scripts to a dedicated directory

(cherry picked from commit df59d6ca54dc5b4bf88f3ee81c2c09cc23d925b7)
This commit is contained in:
Nguyen Thai
2024-01-10 11:42:04 +07:00
committed by Dat H. Pham
parent 705a54ba5c
commit 3c7c7249d7
13 changed files with 57 additions and 29 deletions
+5 -8
View File
@@ -40,21 +40,18 @@ jobs:
- name: Setup Firebase env
env:
FIREBASE_ENV: ${{ secrets.FIREBASE_ENV }}
run: echo "$FIREBASE_ENV" > ./configurations/env.fcm
run: ./scripts/setup-firebase.sh
- name: Run prebuild
run: bash prebuild.sh
run: ./scripts/prebuild.sh
- name: Analyze
uses: zgosalvez/github-actions-analyze-dart@v1
- name: Test
run: |
if [[ "${{ matrix.modules }}" == "default" ]]; then
flutter test -r json > test-report-${{ matrix.modules }}.json
else
flutter test -r json ${{ matrix.modules }} > test-report-${{ matrix.modules }}.json
fi
env:
MODULES: ${{ matrix.modules }}
run: ./scripts/test.sh
- name: Upload test reports
if: success() || failure() # Always upload report