Skip to content

Commit

Permalink
Merge branch 'develop' into tests/aptos-coin
Browse files Browse the repository at this point in the history
  • Loading branch information
joaoccmartins authored Feb 5, 2025
2 parents c5f0d95 + 56c8a29 commit 4458666
Show file tree
Hide file tree
Showing 1,286 changed files with 668 additions and 13,327 deletions.
14 changes: 13 additions & 1 deletion .github/workflows/reusable_swap_functional_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,15 @@ on:
default: 'LedgerHQ/app-cardano'
type: string

branch_for_cosmos:
required: false
default: 'develop'
type: string
repo_for_cosmos:
required: false
default: 'LedgerHQ/app-cosmos'
type: string

test_filter:
required: false
default: '""'
Expand Down Expand Up @@ -189,14 +198,17 @@ jobs:
- name: near
repo: ${{ inputs.repo_for_near }}
branch: ${{ inputs.branch_for_near }}
- name: ATOM
repo: ${{ inputs.repo_for_cosmos }}
branch: ${{ inputs.branch_for_cosmos }}

uses: LedgerHQ/ledger-app-workflows/.github/workflows/reusable_build.yml@v1
with:
app_repository: ${{ matrix.coin.repo }}
app_branch_name: ${{ matrix.coin.branch }}
# Set the coin variant to build with COIN or CHAIN depending on the app + flags for ETH compilation
# As a rule of thumb we don't care about giving unexisting flags to other apps, it has no effect
flags: "COIN=${{ matrix.coin.name }} CHAIN=${{ matrix.coin.name }} CAL_TEST_KEY=1 DOMAIN_NAME_TEST_KEY=1 SET_PLUGIN_TEST_KEY=1 NFT_TEST_KEY=1"
flags: "COIN=${{ matrix.coin.name }} CHAIN=${{ matrix.coin.name }} CAL_TEST_KEY=1 DOMAIN_NAME_TEST_KEY=1 SET_PLUGIN_TEST_KEY=1 NFT_TEST_KEY=1 TRUSTED_NAME_TEST_KEY=1"
upload_app_binaries_artifact: libraries_binaries-${{ matrix.coin.name }}-${{ strategy.job-index }}
upload_as_lib_artifact: ${{ matrix.coin.name }}
builder: ledger-app-builder
Expand Down
9 changes: 2 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,21 +28,16 @@ obj/
_ReSharper*/
[Tt]est[Rr]esult*
.vs/
#Nuget packages folder
packages/

build/
bin/
debug/

# Legacy zemu tests
node_modules
test/elfs
test/snapshots-tmp

# Functional tests
test/python/snapshots-tmp/
test/python/lib_binaries/*.elf
test/python/lib_binaries/*.zip
test/python/lib_binaries/CACHEDIR.TAG
__pycache__
.egg
.pyc
Expand Down
34 changes: 0 additions & 34 deletions .vscode/c_cpp_properties.json

This file was deleted.

74 changes: 0 additions & 74 deletions .vscode/launch.json

This file was deleted.

29 changes: 0 additions & 29 deletions .vscode/settings.json

This file was deleted.

16 changes: 0 additions & 16 deletions .vscode/tasks.json

This file was deleted.

6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
This app is the orchestrator of Swap and Sell functionalities on ledger devices.
An overview of the feature is available [here](https://blog.ledger.com/secure-swap/)

## Documentation
## Documentation

* [Flow](doc/flow)
* [APDU protocol](doc/protocol)
* [Flow](doc/flow.md)
* [APDU protocol](doc/protocol.md)

## Building and installing

Expand Down
30 changes: 0 additions & 30 deletions copy_elfs_for_zemu.sh

This file was deleted.

3 changes: 0 additions & 3 deletions gdb.config

This file was deleted.

4 changes: 4 additions & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[pytest]
testpaths = test/python
pythonpath = test/python
addopts = test/python
18 changes: 0 additions & 18 deletions test/.babelrc

This file was deleted.

13 changes: 0 additions & 13 deletions test/.flowconfig

This file was deleted.

21 changes: 0 additions & 21 deletions test/.vscode/launch.json

This file was deleted.

43 changes: 0 additions & 43 deletions test/docs.md

This file was deleted.

15 changes: 0 additions & 15 deletions test/globalsetup.js

This file was deleted.

Loading

0 comments on commit 4458666

Please sign in to comment.