diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml deleted file mode 100644 index 1f9ca750..00000000 --- a/.github/workflows/sonarcloud.yml +++ /dev/null @@ -1,57 +0,0 @@ -name: Sonarcloud - -on: - push: - branches: - - disable - pull_request: - branches: - - disable - types: [opened, synchronize, reopened] - -jobs: - build: - name: SonarQube analyze - runs-on: ubuntu-latest - container: - image: ghcr.io/ledgerhq/ledger-app-builder/ledger-app-builder@sha256:877adc3ff619222aaf03a490d546ea9001f02faa0c6ac7c06c876c99584f9cdb - env: - SONAR_SCANNER_VERSION: 4.7.0.2747 - SONAR_SERVER_URL: "https://sonarcloud.io" - BUILD_WRAPPER_OUT_DIR: build_wrapper_output_directory # Directory where build-wrapper output will be placed - steps: - - uses: actions/checkout@v2 - with: - submodules: true - - name: Set up JDK 11 - uses: actions/setup-java@v1 - with: - java-version: 11 - - name: Download and set up sonar-scanner - env: - SONAR_SCANNER_DOWNLOAD_URL: https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-${{ env.SONAR_SCANNER_VERSION }}-linux.zip - run: | - apt-get update -y - apt-get upgrade -y - curl -sL https://deb.nodesource.com/setup_16.x | bash - - apt-get install -y gcovr nodejs unzip - mkdir -p $HOME/.sonar - curl -sSLo $HOME/.sonar/sonar-scanner.zip ${{ env.SONAR_SCANNER_DOWNLOAD_URL }} - unzip -o $HOME/.sonar/sonar-scanner.zip -d $HOME/.sonar/ - echo "$HOME/.sonar/sonar-scanner-${{ env.SONAR_SCANNER_VERSION }}-linux/bin" >> $GITHUB_PATH - - name: Download and set up build-wrapper - env: - BUILD_WRAPPER_DOWNLOAD_URL: ${{ env.SONAR_SERVER_URL }}/static/cpp/build-wrapper-linux-x86.zip - run: | - curl -sSLo $HOME/.sonar/build-wrapper-linux-x86.zip ${{ env.BUILD_WRAPPER_DOWNLOAD_URL }} - unzip -o $HOME/.sonar/build-wrapper-linux-x86.zip -d $HOME/.sonar/ - echo "$HOME/.sonar/build-wrapper-linux-x86" >> $GITHUB_PATH - - name: Run build-wrapper - run: | - build-wrapper-linux-x86-64 --out-dir ${{ env.BUILD_WRAPPER_OUT_DIR }} make clean all - - name: Run sonar-scanner - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - run: | - sonar-scanner --define sonar.host.url="${{ env.SONAR_SERVER_URL }}" --define sonar.cfamily.build-wrapper-output="${{ env.BUILD_WRAPPER_OUT_DIR }}" diff --git a/.sonarcloud.properties b/.sonarcloud.properties deleted file mode 100644 index c5d2136c..00000000 --- a/.sonarcloud.properties +++ /dev/null @@ -1,17 +0,0 @@ -# Path to sources -# sonar.sources= -# sonar.exclusions= -# sonar.inclusions= - -# Path to tests -# sonar.tests= -# sonar.test.exclusions= -# sonar.test.inclusions= - -# Source encoding -# sonar.sourceEncoding= - -# Exclusions for copy-paste detection -# sonar.cpd.exclusions= -# Python version (for python projects only) -# sonar.python.version= \ No newline at end of file diff --git a/app/Makefile.version b/app/Makefile.version index ade301ef..29648da5 100644 --- a/app/Makefile.version +++ b/app/Makefile.version @@ -3,4 +3,5 @@ APPVERSION_M=2 # This is the `spec_version` field of `Runtime` APPVERSION_N=35 # This is the patch version of this release -APPVERSION_P=24 +APPVERSION_P=25 + diff --git a/sonar-project.properties b/sonar-project.properties deleted file mode 100644 index da91272d..00000000 --- a/sonar-project.properties +++ /dev/null @@ -1,2 +0,0 @@ -sonar.projectKey=Cosmos_ledger-cosmos -sonar.organization=cosmos \ No newline at end of file diff --git a/tests_zemu/snapshots/fl-mainmenu/00004.png b/tests_zemu/snapshots/fl-mainmenu/00004.png index 7750dc1a..1b198c66 100644 Binary files a/tests_zemu/snapshots/fl-mainmenu/00004.png and b/tests_zemu/snapshots/fl-mainmenu/00004.png differ diff --git a/tests_zemu/snapshots/s-mainmenu/00004.png b/tests_zemu/snapshots/s-mainmenu/00004.png index 9399f8f0..e33c90db 100644 Binary files a/tests_zemu/snapshots/s-mainmenu/00004.png and b/tests_zemu/snapshots/s-mainmenu/00004.png differ diff --git a/tests_zemu/snapshots/s-mainmenu/00010.png b/tests_zemu/snapshots/s-mainmenu/00010.png index 9399f8f0..e33c90db 100644 Binary files a/tests_zemu/snapshots/s-mainmenu/00010.png and b/tests_zemu/snapshots/s-mainmenu/00010.png differ diff --git a/tests_zemu/snapshots/sp-mainmenu/00004.png b/tests_zemu/snapshots/sp-mainmenu/00004.png index d6bbafe3..8047ea9a 100644 Binary files a/tests_zemu/snapshots/sp-mainmenu/00004.png and b/tests_zemu/snapshots/sp-mainmenu/00004.png differ diff --git a/tests_zemu/snapshots/sp-mainmenu/00010.png b/tests_zemu/snapshots/sp-mainmenu/00010.png index d6bbafe3..8047ea9a 100644 Binary files a/tests_zemu/snapshots/sp-mainmenu/00010.png and b/tests_zemu/snapshots/sp-mainmenu/00010.png differ diff --git a/tests_zemu/snapshots/st-govDeposit/00001.png b/tests_zemu/snapshots/st-govDeposit/00001.png index 43b520de..538238fa 100644 Binary files a/tests_zemu/snapshots/st-govDeposit/00001.png and b/tests_zemu/snapshots/st-govDeposit/00001.png differ diff --git a/tests_zemu/snapshots/st-govDeposit/00002.png b/tests_zemu/snapshots/st-govDeposit/00002.png index 80996b3c..a487a698 100644 Binary files a/tests_zemu/snapshots/st-govDeposit/00002.png and b/tests_zemu/snapshots/st-govDeposit/00002.png differ diff --git a/tests_zemu/snapshots/st-govDeposit/00005.png b/tests_zemu/snapshots/st-govDeposit/00005.png deleted file mode 100644 index ba2e8a92..00000000 Binary files a/tests_zemu/snapshots/st-govDeposit/00005.png and /dev/null differ diff --git a/tests_zemu/snapshots/st-ibc_denoms/00005.png b/tests_zemu/snapshots/st-ibc_denoms/00005.png deleted file mode 100644 index ba2e8a92..00000000 Binary files a/tests_zemu/snapshots/st-ibc_denoms/00005.png and /dev/null differ diff --git a/tests_zemu/snapshots/st-mainmenu/00004.png b/tests_zemu/snapshots/st-mainmenu/00004.png index c87b962e..e68baef0 100644 Binary files a/tests_zemu/snapshots/st-mainmenu/00004.png and b/tests_zemu/snapshots/st-mainmenu/00004.png differ diff --git a/tests_zemu/snapshots/st-msgMultiSend/00001.png b/tests_zemu/snapshots/st-msgMultiSend/00001.png index cb6d36bf..77c914a1 100644 Binary files a/tests_zemu/snapshots/st-msgMultiSend/00001.png and b/tests_zemu/snapshots/st-msgMultiSend/00001.png differ diff --git a/tests_zemu/snapshots/st-msgMultiSend/00003.png b/tests_zemu/snapshots/st-msgMultiSend/00003.png index a42c95f2..5b7f51bb 100644 Binary files a/tests_zemu/snapshots/st-msgMultiSend/00003.png and b/tests_zemu/snapshots/st-msgMultiSend/00003.png differ diff --git a/tests_zemu/snapshots/st-msgMultiSend/00006.png b/tests_zemu/snapshots/st-msgMultiSend/00006.png deleted file mode 100644 index 5cc4bafc..00000000 Binary files a/tests_zemu/snapshots/st-msgMultiSend/00006.png and /dev/null differ diff --git a/tests_zemu/snapshots/st-msgMultiSend/00007.png b/tests_zemu/snapshots/st-msgMultiSend/00007.png deleted file mode 100644 index f618d705..00000000 Binary files a/tests_zemu/snapshots/st-msgMultiSend/00007.png and /dev/null differ diff --git a/tests_zemu/snapshots/st-msgMultiSend/00008.png b/tests_zemu/snapshots/st-msgMultiSend/00008.png deleted file mode 100644 index ba2e8a92..00000000 Binary files a/tests_zemu/snapshots/st-msgMultiSend/00008.png and /dev/null differ diff --git a/tests_zemu/snapshots/st-setWithdrawAddress-eth/00001.png b/tests_zemu/snapshots/st-setWithdrawAddress-eth/00001.png index 2e97fb41..f51165e5 100644 Binary files a/tests_zemu/snapshots/st-setWithdrawAddress-eth/00001.png and b/tests_zemu/snapshots/st-setWithdrawAddress-eth/00001.png differ diff --git a/tests_zemu/snapshots/st-setWithdrawAddress-eth/00006.png b/tests_zemu/snapshots/st-setWithdrawAddress-eth/00006.png deleted file mode 100644 index ba2e8a92..00000000 Binary files a/tests_zemu/snapshots/st-setWithdrawAddress-eth/00006.png and /dev/null differ diff --git a/tests_zemu/snapshots/st-setWithdrawAddress/00001.png b/tests_zemu/snapshots/st-setWithdrawAddress/00001.png index 2e97fb41..f51165e5 100644 Binary files a/tests_zemu/snapshots/st-setWithdrawAddress/00001.png and b/tests_zemu/snapshots/st-setWithdrawAddress/00001.png differ diff --git a/tests_zemu/snapshots/st-setWithdrawAddress/00006.png b/tests_zemu/snapshots/st-setWithdrawAddress/00006.png deleted file mode 100644 index ba2e8a92..00000000 Binary files a/tests_zemu/snapshots/st-setWithdrawAddress/00006.png and /dev/null differ diff --git a/tests_zemu/snapshots/st-sign_basic/00005.png b/tests_zemu/snapshots/st-sign_basic/00005.png deleted file mode 100644 index ba2e8a92..00000000 Binary files a/tests_zemu/snapshots/st-sign_basic/00005.png and /dev/null differ diff --git a/tests_zemu/snapshots/st-sign_basic_eth/00001.png b/tests_zemu/snapshots/st-sign_basic_eth/00001.png index 1b55db72..a8e130e2 100644 Binary files a/tests_zemu/snapshots/st-sign_basic_eth/00001.png and b/tests_zemu/snapshots/st-sign_basic_eth/00001.png differ diff --git a/tests_zemu/snapshots/st-sign_basic_eth/00006.png b/tests_zemu/snapshots/st-sign_basic_eth/00006.png deleted file mode 100644 index ba2e8a92..00000000 Binary files a/tests_zemu/snapshots/st-sign_basic_eth/00006.png and /dev/null differ diff --git a/tests_zemu/snapshots/st-sign_basic_extra_fields/00005.png b/tests_zemu/snapshots/st-sign_basic_extra_fields/00005.png deleted file mode 100644 index ba2e8a92..00000000 Binary files a/tests_zemu/snapshots/st-sign_basic_extra_fields/00005.png and /dev/null differ diff --git a/tests_zemu/snapshots/st-textual-sign_basic/00001.png b/tests_zemu/snapshots/st-textual-sign_basic/00001.png index 625eca89..6c44de87 100644 Binary files a/tests_zemu/snapshots/st-textual-sign_basic/00001.png and b/tests_zemu/snapshots/st-textual-sign_basic/00001.png differ diff --git a/tests_zemu/snapshots/st-textual-sign_basic/00006.png b/tests_zemu/snapshots/st-textual-sign_basic/00006.png deleted file mode 100644 index ba2e8a92..00000000 Binary files a/tests_zemu/snapshots/st-textual-sign_basic/00006.png and /dev/null differ diff --git a/tests_zemu/snapshots/st-textual-sign_basic_eth/00008.png b/tests_zemu/snapshots/st-textual-sign_basic_eth/00008.png deleted file mode 100644 index bcafe5ca..00000000 Binary files a/tests_zemu/snapshots/st-textual-sign_basic_eth/00008.png and /dev/null differ diff --git a/tests_zemu/snapshots/st-textual-sign_basic_eth/00009.png b/tests_zemu/snapshots/st-textual-sign_basic_eth/00009.png deleted file mode 100644 index ba2e8a92..00000000 Binary files a/tests_zemu/snapshots/st-textual-sign_basic_eth/00009.png and /dev/null differ diff --git a/tests_zemu/snapshots/st-textual-sign_basic_expert/00008.png b/tests_zemu/snapshots/st-textual-sign_basic_expert/00008.png deleted file mode 100644 index bcafe5ca..00000000 Binary files a/tests_zemu/snapshots/st-textual-sign_basic_expert/00008.png and /dev/null differ diff --git a/tests_zemu/snapshots/st-textual-sign_basic_expert/00009.png b/tests_zemu/snapshots/st-textual-sign_basic_expert/00009.png deleted file mode 100644 index ba2e8a92..00000000 Binary files a/tests_zemu/snapshots/st-textual-sign_basic_expert/00009.png and /dev/null differ diff --git a/tests_zemu/snapshots/x-mainmenu/00004.png b/tests_zemu/snapshots/x-mainmenu/00004.png index d6bbafe3..8047ea9a 100644 Binary files a/tests_zemu/snapshots/x-mainmenu/00004.png and b/tests_zemu/snapshots/x-mainmenu/00004.png differ diff --git a/tests_zemu/snapshots/x-mainmenu/00010.png b/tests_zemu/snapshots/x-mainmenu/00010.png index d6bbafe3..8047ea9a 100644 Binary files a/tests_zemu/snapshots/x-mainmenu/00010.png and b/tests_zemu/snapshots/x-mainmenu/00010.png differ