Skip to content

Commit

Permalink
!fixup handle CI
Browse files Browse the repository at this point in the history
  • Loading branch information
spalmer25 committed Dec 22, 2023
1 parent 70262e5 commit a4053c7
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,17 +93,27 @@ jobs:
./tests/integration/run_test_local.sh -F -m ${{ matrix.device }} \
./tests/integration/${{ matrix.device }}
else
./tests/integration/run_test_local.sh -F -m ${{ matrix.device }} \
./tests/integration/nano ./tests/integration/nano/${{ matrix.device }}
TMP_DIR=$(mktemp -d /tmp/foo-XXXXXX)
tar xfz app_${{ matrix.device }}_dbg.tgz -C $TMP_DIR
pytest -n 32 tests/integration/nano/ --tb=no \
--device ${{ matrix.device }} --app_path $TMP_DIR/app.elf \
--log-dir integration_tests_log
fi
- name: Upload results
- name: Upload Stax results
uses: actions/upload-artifact@v3
if: always()
if: always() && matrix.device == 'stax'
with:
name: integration_tests_${{ matrix.device }}.json
path: ./integration_tests.json

- name: Upload results
uses: actions/upload-artifact@v3
if: always() && matrix.device != 'stax'
with:
name: integration_tests_log_${{ matrix.device }}
path: ./integration_tests_log

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

0 comments on commit a4053c7

Please sign in to comment.