feat: export txn history as csv #1152
This file contains hidden or 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: Analyze and Test | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| - develop | |
| jobs: | |
| analyze_and_test: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v5 | |
| - name: Install FVM | |
| run: | | |
| curl -fsSL https://fvm.app/install.sh | bash -s -- 4.0.5 | |
| echo "$HOME/fvm/bin" >> $GITHUB_PATH | |
| - run: make fvm-check | |
| - run: make deps | |
| - run: make build-runner | |
| - run: make translations | |
| - name: Create .env file | |
| run: | | |
| echo "TEST_ALICE_MNEMONIC=${{ secrets.ENV_TEST_ALICE_MNEMONIC }}" >> .env | |
| echo "TEST_BOB_MNEMONIC=${{ secrets.ENV_TEST_BOB_MNEMONIC }}" >> .env | |
| - name: Linter shouldn't raise errors, warnings or infos | |
| run: fvm flutter analyze --fatal-warnings --fatal-infos | |
| - name: dart fix should have nothing to suggest | |
| run: | | |
| output=$(fvm dart fix --dry-run) | |
| echo "$output" | |
| echo "$output" | grep -q "Nothing to fix!" | |
| - name: Unit tests must pass | |
| run: make unit-test | |
| # android-integration-test: | |
| # runs-on: macos-latest | |
| # steps: | |
| # - uses: actions/checkout@v3 | |
| # - uses: flutter-actions/setup-flutter@v4 | |
| # - uses: bluefireteam/melos-action@v2 | |
| # - uses: dtolnay/rust-toolchain@stable | |
| # with: | |
| # toolchain: stable | |
| # - uses: nttld/setup-ndk@v1 | |
| # with: | |
| # ndk-version: r25b | |
| # - uses: actions/setup-java@v3 | |
| # with: | |
| # distribution: zulu | |
| # java-version: "21" | |
| # - run: make clean | |
| # - run: make deps | |
| # - run: make build-runner | |
| # - run: make l10n | |
| # - name: Create .env file | |
| # run: | | |
| # echo "TEST_ALICE_MNEMONIC=${{ secrets.ENV_TEST_ALICE_MNEMONIC }}" >> .env | |
| # echo "TEST_BOB_MNEMONIC=${{ secrets.ENV_TEST_BOB_MNEMONIC }}" >> .env | |
| # # - name: Build the binaries | |
| # # run: melos run build:android | |
| # # - name: Copy the binaries to the needed location | |
| # # run: | | |
| # # CURR_VERSION=library_name-v`awk '/^version: /{print $2}' packages/library_name/pubspec.yaml` | |
| # # cp platform-build/android.tar.gz packages/flutter_library_name/android/$CURR_VERSION.tar.gz | |
| # # echo Copied file! | |
| # - name: Run Flutter integration tests | |
| # uses: Wandalen/wretry.action@master # sometimes android tests are flaky | |
| # with: | |
| # attempt_limit: 5 | |
| # action: reactivecircus/android-emulator-runner@v2 | |
| # with: | | |
| # api-level: 33 | |
| # target: google_apis | |
| # arch: x86_64 | |
| # ram-size: 1024M | |
| # disk-size: 2048M | |
| # script: cd packages/flutter_library_name/example && flutter test -d `flutter devices | grep android | tr ' ' '\n' | grep emulator-` integration_test |