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