Skip to content

Commit f89cdef

Browse files
committed
Use action if statement instead of bash script.
Signed-off-by: Jelmer de Wolde <jelmer.de.wolde@alliander.com>
1 parent 5dd3cf3 commit f89cdef

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

.github/workflows/docker.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -391,11 +391,10 @@ jobs:
391391
cache: "pip"
392392
- name: Install dependencies
393393
run: pip install pyyaml mashumaro
394-
- name: Run tests in alliander_tests container
395-
run: |
396-
# TODO remove if-statement after zed/realsense-arm64 is supported
397-
if ${{ matrix.runner }} == ubuntu-24.04-arm; then
398-
python3 start.py --pytest-no-nvidia --deselect=alliander_tests/src/alliander_tests/tests/test_camera.py
399-
else
400-
python3 start.py --pytest-no-nvidia
401-
fi
394+
# TODO remove difference between ARM and non-ARM when zed/realsense-arm64 is supported:
395+
- name: Run tests in alliander_tests container (ubuntu-24.04)
396+
if: ${{ matrix.runner }} == 'ubuntu-24.04'
397+
run: python3 start.py --pytest-no-nvidia
398+
- name: Run tests in alliander_tests container (ubuntu-24.04)
399+
if: ${{ matrix.runner }} == 'ubuntu-24.04-arm'
400+
run: python3 start.py --pytest-no-nvidia --deselect=alliander_tests/src/alliander_tests/tests/test_camera.py

0 commit comments

Comments
 (0)