Merge pull request from cypherstack/workflows

Workflows
This commit is contained in:
Marco Salazar 2022-08-28 08:17:02 -06:00 committed by GitHub
commit 249737fb15
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 4 deletions
.github/workflows
README.md

View file

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

View file

@ -1,3 +1,5 @@
[![codecov](https://codecov.io/gh/cypherstack/stack_wallet/branch/main/graph/badge.svg?token=PM1N56UTEW)](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
```