diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 9b8123f7f..f424aa07c 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -1,5 +1,5 @@ name: Test -on: [push, pull_request] +on: [pull_request] jobs: test: runs-on: ubuntu-20.04 @@ -13,6 +13,10 @@ jobs: uses: subosito/flutter-action@v2 - name: Checkout submodules run: git submodule update --init --recursive + - name: Build Lelantus + run: | + cd crypto_plugins/flutter_liblelantus/scripts/linux/ + ./build_all.sh - name: Get dependencies run: flutter pub get - name: Create temp files @@ -58,7 +62,13 @@ jobs: # - name: Analyze # run: flutter analyze - name: Test - run: flutter test + run: flutter test --coverage + - name: Upload to code coverage + uses: codecov/codecov-action@v1.2.2 + if: success() || failure() + with: + token: ${{secrets.CODECOV_TOKEN}} + file: coverage/lcov.info - name: Delete temp files run: | Remove-Item -Path $env:CHANGE_NOW; diff --git a/README.md b/README.md index 559c955eb..458002037 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +[](https://codecov.io/gh/cypherstack/stack_wallet) + # Stack Wallet put details here @@ -8,13 +10,14 @@ put features here ## Build and run ### Prerequisites +- Flutter 3.0.5 - Flutter SDK Requirement (>=2.12.0, up until <3.0.0) - Android/iOS dev setup (Android Studio, xCode and subsequent dependencies) After that download the project and init the submodules ``` -git clone https://github.com/cypherstack/Campfire.git -cd Campfire +git clone https://github.com/cypherstack/stack_wallet.git +cd stack_wallet git submodule update --init --recursive ```