Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .github/workflows/ports_psoc6.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,14 @@ jobs:
- name: Setup devices
run: |
cp mpy-psoc6_${{ matrix.board }}_${{ needs.server-build.outputs.commit_sha }}/firmware.hex .
source tools/ci.sh && ci_psoc6_flash_multiple_devices ${{ matrix.board }} firmware.hex tools/psoc6/${{ runner.name }}-devs.yml
source tools/ci.sh && ci_psoc6_flash_multiple_devices ${{ matrix.board }} firmware.hex tests/ports/psoc6/${{ runner.name }}-devs.yml
- name: Run psoc6 tests
timeout-minutes: 12
env:
psoc6_test_dir: ../../tests/ports/psoc6
run: |
cd tools/psoc6
python -u run_test_plan.py --board ${{ matrix.board }} --hil-devs ${{ runner.name }}-devs.yml --max-retries 2
cd lib/mpy-test-ext
python -u run_test_plan.py --board ${{ matrix.board }} --max-retries 2 --test-plan $psoc6_test_dir/test-plan.yml --hil-devs $psoc6_test_dir/${{ runner.name }}-devs.yml

- name: Container teardown
if: failure() || success()
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,6 @@
[submodule "lib/mtb-psoc6-libs"]
path = lib/mtb-psoc6-libs
url = https://github.com/Infineon/mtb-micropython-psoc6-port-integration.git
[submodule "lib/mpy-test-ext"]
path = lib/mpy-test-ext
url = https://github.com/Infineon/mpy-test-ext.git
1 change: 1 addition & 0 deletions lib/mpy-test-ext
Submodule mpy-test-ext added at e46da2
2 changes: 1 addition & 1 deletion lib/mtb-psoc6-libs
2 changes: 1 addition & 1 deletion ports/psoc6/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ include ../../py/mkenv.mk
include $(TOP)/py/py.mk
include $(TOP)/extmod/extmod.mk

GIT_SUBMODULES += lib/mtb-psoc6-libs
GIT_SUBMODULES += lib/mtb-psoc6-libs lib/mpy-test-ext

INC += -I.
INC += -I$(TOP)
Expand Down
File renamed without changes.
1 change: 1 addition & 0 deletions tools/ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,7 @@ function ci_psoc6_setup {
docker exec mtb-ci /bin/bash -c "git config --global --add safe.directory /micropython/lib/mbedtls"
docker exec mtb-ci /bin/bash -c "git config --global --add safe.directory /micropython/lib/lwip"
docker exec mtb-ci /bin/bash -c "git config --global --add safe.directory /micropython/lib/mtb-psoc6-libs"
docker exec mtb-ci /bin/bash -c "git config --global --add safe.directory /micropython/lib/mpy-test-ext"

# Initialize the submodules
docker exec mtb-ci make submodules
Expand Down
184 changes: 0 additions & 184 deletions tools/psoc6/get_devs.py

This file was deleted.

Loading
Loading