Skip to content

Commit

Permalink
Show ragger/speculos version + retrieve snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
spalmer25 committed Sep 9, 2024
1 parent 305778e commit 8a95fce
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ jobs:
- name: Run test
run: |
if [ "${{ matrix.device }}" = "stax" ] || [ "${{ matrix.device }}" = "flex" ]; then
python3 -m pip show ragger
python3 -m pip show speculos
./tests/integration/run_test_local.sh -F -m ${{ matrix.device }} \
./tests/integration/touch
else
Expand All @@ -92,6 +94,8 @@ jobs:
python3 -m pip install -r ./tests/requirements.txt -q
TMP_DIR=$(mktemp -d /tmp/foo-XXXXXX)
tar xfz app_${{ matrix.device }}_dbg.tgz -C $TMP_DIR
python3 -m pip show ragger
python3 -m pip show speculos
python3 -m pytest -n 32 tests/integration/nano/ --tb=no \
--device ${{ matrix.device }} --app $TMP_DIR/app.elf \
--log-dir integration_tests_log
Expand All @@ -111,6 +115,20 @@ jobs:
name: integration_tests_log_${{ matrix.device }}
path: ./integration_tests_log

- name: Upload Snapshots
uses: actions/upload-artifact@v4
if: always() && (matrix.device == 'stax')
with:
name: integration_tests_${{ matrix.device }}_snapshots
path: ./tests/integration/touch/snapshots-tmp

- name: Upload Snapshots
uses: actions/upload-artifact@v4
if: always() && (matrix.device == 'flex')
with:
name: integration_tests_${{ matrix.device }}_snapshots
path: tests/integration/touch/snapshots-tmp

generate_samples_unit_tests:
needs: [build_docker_tezos_ocaml]
runs-on: ubuntu-latest
Expand Down

0 comments on commit 8a95fce

Please sign in to comment.