Bump flutter v3.13.8 xcode15 #1540
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Unit Tests & Code Quality | |
on: | |
push: | |
branches: [master, f-droid] | |
pull_request: | |
branches: [master, f-droid] | |
jobs: | |
flutter: | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
steps: | |
# Setup Environment | |
- uses: actions/checkout@v3 | |
- name: Install flutter wrapper | |
run: ./scripts/install_flutter_wrapper.sh | |
- name: Melos Install | |
run: ./scripts/install_melos.sh | |
- name: Melos Bootstrap | |
run: ./flutterw pub global run melos bootstrap | |
- name: "Build JS" | |
run: ./flutterw pub global run melos yarn-build | |
- name: "Check fmt" | |
run: ./flutterw pub global run melos format-check | |
- name: "Analyze Code" | |
run: ./flutterw pub global run melos analyze-check | |
- name: "Check translations" | |
run: | | |
cd app && ./../flutterw gen-l10n && cd .. | |
./scripts/check_translations.sh ./app/.untranslated-messages.txt | |
- name: "Run unit tests Encointer" | |
run: ./flutterw pub global run melos unit-test-app-exclude-encointer-node-e2e | |
- name: "Run unit tests Packages" | |
run: ./flutterw pub global run melos unit-test-packages | |
- name: "Run the build_runner and return an error if files are changed" | |
run: | | |
./flutterw pub global run melos run-build-runner | |
./flutterw pub global run melos format | |
git diff --exit-code | |
# test-js: | |
# Todo: Currently e2e tests are mixed with unit tests (although the amount of unit tests is really small) |