Skip to content

Commit

Permalink
.github/workflows/ports_psoc6.yml: Added dev selection to tests stages.
Browse files Browse the repository at this point in the history
Signed-off-by: enriquezgarc <enriquezgarcia.external@infineon.com>
  • Loading branch information
jaenrig-ifx committed Sep 19, 2023
1 parent 137cf4e commit 4981917
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ports_psoc6.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,14 @@ jobs:
source tools/ci.sh && ci_psoc6_flash_multiple_devices ${{ matrix.board }} firmware.hex tools/psoc6/${{ runner.name }}-devs.yml
- name: Run psoc6 multi test
run: |
devs=($(python tools/psoc6/get-devs.py port -b ${{ matrix.board }} -y tools/psoc6/${{ runner.name }}-devs.yml))
cd tests
./psoc6/run_psoc6_tests.sh --psoc6-multi
./psoc6/run_psoc6_tests.sh --psoc6-multi --dev0 ${dev[0]} --dev1 ${dev[1]}
- name: Run psoc6 tests
run: |
devs=($(python tools/psoc6/get-devs.py port -b ${{ matrix.board }} -y tools/psoc6/${{ runner.name }}-devs.yml))
cd tests
./psoc6/run_psoc6_tests.sh --psoc6
./psoc6/run_psoc6_tests.sh --psoc6 --dev0 ${dev[0]}
# TODO: Enable when HIL is updgraded
# - name: Run all implemented tests
# if: github.event_name == 'pull_request'
Expand Down

0 comments on commit 4981917

Please sign in to comment.