Skip to content

Commit

Permalink
.github/workflows/ports_psoc6.yml: Added i2s tests. Refactored 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 May 15, 2024
1 parent 2ba6966 commit d978465
Showing 1 changed file with 4 additions and 45 deletions.
49 changes: 4 additions & 45 deletions .github/workflows/ports_psoc6.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ jobs:
- name: Run psoc6 tests
run: |
devs=($(python tools/psoc6/get-devs.py port -b ${{ matrix.board }} -y tools/psoc6/${{ runner.name }}-devs.yml))
devs0=($(python tools/psoc6/get-devs.py port -b ${{ matrix.board }} -y tools/psoc6/${{ runner.name }}-devs.yml --hw-ext 0.2.0.a))
devs1=($(python tools/psoc6/get-devs.py port -b ${{ matrix.board }} -y tools/psoc6/${{ runner.name }}-devs.yml --hw-ext 0.2.0.b))
devs0=($(python tools/psoc6/get-devs.py port -b ${{ matrix.board }} -y tools/psoc6/${{ runner.name }}-devs.yml --hw-ext 0.3.0.a))
devs1=($(python tools/psoc6/get-devs.py port -b ${{ matrix.board }} -y tools/psoc6/${{ runner.name }}-devs.yml --hw-ext 0.3.0.b))
cd tests
echo " >> Filesystem tests"
./psoc6/run_psoc6_tests.sh -c -v --dev0 ${devs[0]}
Expand All @@ -81,52 +81,11 @@ jobs:
echo " >> PSoC6 extended hardware tests"
./psoc6/run_psoc6_tests.sh -c --psoc6-hwext --dev0 ${devs0[0]}
echo " >> PSoC6 bitstream tests"
./psoc6/run_psoc6_tests.sh -c -s --dev0 ${devs0[0]} --dev1 ${devs1[0]}
echo " >> PSoC6 bitstream tests"
./psoc6/run_psoc6_tests.sh -c -b --dev0 ${devs0[0]} --dev1 ${devs1[0]}
echo " >> PSoC6 watchdog tests"
./psoc6/run_psoc6_tests.sh -c --psoc6-wdt --dev0 ${devs[0]}
# - name: Run psoc6 filesystem 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 -c -v --dev0 ${devs[0]}
# - name: Run psoc6 multi test
# if: always()
# 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 -c --psoc6-multi --dev0 ${devs[0]} --dev1 ${devs[1]}
# - name: Run psoc6 tests
# if: always()
# 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 -c --psoc6 --dev0 ${devs[0]}
# - name: Run psoc6 hardware extended tests
# if: always()
# run: |
# devs=($(python tools/psoc6/get-devs.py port -b ${{ matrix.board }} -y tools/psoc6/${{ runner.name }}-devs.yml --hw-ext 0.2.0.a))
# cd tests
# ./psoc6/run_psoc6_tests.sh -c --psoc6-hwext --dev0 ${devs[0]}
# - name: Run psoc6 bitstream tests
# if: always()
# run: |
# devs0=($(python tools/psoc6/get-devs.py port -b ${{ matrix.board }} -y tools/psoc6/${{ runner.name }}-devs.yml --hw-ext 0.2.0.a))
# devs1=($(python tools/psoc6/get-devs.py port -b ${{ matrix.board }} -y tools/psoc6/${{ runner.name }}-devs.yml --hw-ext 0.2.0.b))
# cd tests
# ./psoc6/run_psoc6_tests.sh -c -b --dev0 ${devs0[0]} --dev1 ${devs1[0]}
# - name: Run psoc6 wdt tests
# if: always()
# 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 -c --psoc6-wdt --dev0 ${devs[0]}
# TODO: Enable when HIL is upgraded
# - name: Run all implemented tests
# if: github.event_name == 'pull_request'
# continue-on-error: true
# run: |
# cd tests
# ./psoc6/run_psoc6_tests.sh -i
- name: Container teardown
if: failure() || success()
run: |
Expand Down

0 comments on commit d978465

Please sign in to comment.