fix(pico-sensor): commented entirely the test job

This commit is contained in:
SylvanArnold
2025-06-16 18:51:55 +02:00
parent d1bce34dcf
commit d429c82ee2
2 changed files with 19 additions and 14 deletions

View File

@@ -4,6 +4,7 @@ stages:
- web-app-tests - web-app-tests
- pico-sensor-docker-build - pico-sensor-docker-build
- pico-sensor-test
- pico-sensor-release - pico-sensor-release
include: include:

View File

@@ -3,6 +3,7 @@ variables:
stages: stages:
- pico-sensor-docker-build - pico-sensor-docker-build
- pico-sensor-test
- pico-sensor-release - pico-sensor-release
pico-sensor-docker-build: pico-sensor-docker-build:
@@ -19,20 +20,23 @@ pico-sensor-docker-build:
- changes: - changes:
- pico-sensor/Dockerfile - pico-sensor/Dockerfile
pico-sensor-test: # Uncomment the following section if you want to run tests on the pico-sensor device.
#stage: pico-sensor-test # Note: This requires a tunnel to the device
image: $PICO_DOCKER_IMAGE # Currently no tunnel is set up, so this section is commented out.
variables: # pico-sensor-test:
TUNNEL_ID: "801000372" # Tunnel ID to reach the pico-sensor device # stage: pico-sensor-test
script: # image: $PICO_DOCKER_IMAGE
- cd pico-sensor # variables:
- cmake --preset Test -DTUNNEL_ID=$TUNNEL_ID # TUNNEL_ID: "801000372" # Tunnel ID to reach the pico-sensor device
- cmake --build --preset app-test # script:
- cd build/Test # - cd pico-sensor
- ctest -T test --output-on-failure --output-junit test-results.xml$ # - cmake --preset Test -DTUNNEL_ID=$TUNNEL_ID
artifacts: # - cmake --build --preset app-test
paths: # - cd build/Test
- pico-sensor/build/Test/test-results.xml # - ctest -T test --output-on-failure --output-junit test-results.xml$
# artifacts:
# paths:
# - pico-sensor/build/Test/test-results.xml
pico-sensor-release: pico-sensor-release:
stage: pico-sensor-release stage: pico-sensor-release