Skip to content

Commit

Permalink
Merge pull request #8 from blooo-io/feat/LAPP-5-implement-minttoken-t…
Browse files Browse the repository at this point in the history
…ests-3

ci tests: added nanox and e2e jobs in plugin ci
  • Loading branch information
lisaoulmi authored Nov 25, 2021
2 parents 1426b9a + 08d74e2 commit 0856a47
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 44 deletions.
78 changes: 39 additions & 39 deletions .github/workflows/ci-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,46 +27,46 @@ jobs:
make clean
make BOLOS_SDK=$NANOS_SDK
# job_build_debug_nano_x:
# name: Build debug Nano X
# runs-on: ubuntu-latest
job_build_debug_nano_x:
name: Build debug Nano X
runs-on: ubuntu-latest

# container:
# image: ghcr.io/ledgerhq/ledger-app-builder/ledger-app-builder:latest
container:
image: ghcr.io/ledgerhq/ledger-app-builder/ledger-app-builder:latest

# steps:
# - name: Clone
# uses: actions/checkout@v2
# with:
# submodules: recursive
steps:
- name: Clone
uses: actions/checkout@v2
with:
submodules: recursive

# - name: Build plugin for Nano X
# run: |
# make clean
# make BOLOS_SDK=$NANOX_SDK
- name: Build plugin for Nano X
run: |
make clean
make BOLOS_SDK=$NANOX_SDK
# jobs-e2e-tests:
# needs: [job_build_debug_nano_s, job_build_debug_nano_x]
# runs-on: ubuntu-latest
# steps:
# - name: Test
# run: |
# id
# echo $HOME
# echo $DISPLAY
# - name: Checkout
# uses: actions/checkout@v2
# - run: sudo apt-get update -y && sudo apt-get install -y libusb-1.0.0 libudev-dev
# - name: Install node
# uses: actions/setup-node@v2
# with:
# node-version: "14.4.0"
# - name: Install yarn
# run: |
# npm install -g yarn
# - name: Build/Install build js deps
# run: |
# cd tests && yarn install
# - name: Run zemu tests
# run: |
# cd tests && yarn test
jobs-e2e-tests:
needs: [job_build_debug_nano_s, job_build_debug_nano_x]
runs-on: ubuntu-latest
steps:
- name: Test
run: |
id
echo $HOME
echo $DISPLAY
- name: Checkout
uses: actions/checkout@v2
- run: sudo apt-get update -y && sudo apt-get install -y libusb-1.0.0 libudev-dev
- name: Install node
uses: actions/setup-node@v2
with:
node-version: "14.4.0"
- name: Install yarn
run: |
npm install -g yarn
- name: Build/Install build js deps
run: |
cd tests && yarn install
- name: Run zemu tests
run: |
cd tests && yarn test
10 changes: 5 additions & 5 deletions tests/src/mint_token.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ const devices = [
label: "Nano S",
steps: 7, // <= Define the number of steps for this test case and this device
},
{
name: "nanox",
label: "Nano X",
steps: 5, // <= Define the number of steps for this test case and this device
},
// {
// name: "nanox",
// label: "Nano X",
// steps: 5, // <= Define the number of steps for this test case and this device
// },
];

devices.forEach((device) =>
Expand Down

0 comments on commit 0856a47

Please sign in to comment.