fix(pico-sensor): commented entirely the test job
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
@@ -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.
|
||||||
|
# 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
|
# stage: pico-sensor-test
|
||||||
image: $PICO_DOCKER_IMAGE
|
# image: $PICO_DOCKER_IMAGE
|
||||||
variables:
|
# variables:
|
||||||
TUNNEL_ID: "801000372" # Tunnel ID to reach the pico-sensor device
|
# TUNNEL_ID: "801000372" # Tunnel ID to reach the pico-sensor device
|
||||||
script:
|
# script:
|
||||||
- cd pico-sensor
|
# - cd pico-sensor
|
||||||
- cmake --preset Test -DTUNNEL_ID=$TUNNEL_ID
|
# - cmake --preset Test -DTUNNEL_ID=$TUNNEL_ID
|
||||||
- cmake --build --preset app-test
|
# - cmake --build --preset app-test
|
||||||
- cd build/Test
|
# - cd build/Test
|
||||||
- ctest -T test --output-on-failure --output-junit test-results.xml$
|
# - ctest -T test --output-on-failure --output-junit test-results.xml$
|
||||||
artifacts:
|
# artifacts:
|
||||||
paths:
|
# paths:
|
||||||
- pico-sensor/build/Test/test-results.xml
|
# - pico-sensor/build/Test/test-results.xml
|
||||||
|
|
||||||
pico-sensor-release:
|
pico-sensor-release:
|
||||||
stage: pico-sensor-release
|
stage: pico-sensor-release
|
||||||
|
|||||||
Reference in New Issue
Block a user