Skip to content

Show encointer logo instead community logo if announcement is global #1116

Show encointer logo instead community logo if announcement is global

Show encointer logo instead community logo if announcement is global #1116

Workflow file for this run

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: "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)