From d429c82ee267fac757297ba6066e0d71e852bf94 Mon Sep 17 00:00:00 2001 From: SylvanArnold <89144178+SylvanArnold@users.noreply.github.com> Date: Mon, 16 Jun 2025 18:51:55 +0200 Subject: [PATCH] fix(pico-sensor): commented entirely the test job --- .gitlab-ci.yml | 1 + pico-sensor/.gitlab-ci.yml | 32 ++++++++++++++++++-------------- 2 files changed, 19 insertions(+), 14 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ffc2cdd..3bd7e77 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,6 +4,7 @@ stages: - web-app-tests - pico-sensor-docker-build + - pico-sensor-test - pico-sensor-release include: diff --git a/pico-sensor/.gitlab-ci.yml b/pico-sensor/.gitlab-ci.yml index 13f0e47..ff42274 100644 --- a/pico-sensor/.gitlab-ci.yml +++ b/pico-sensor/.gitlab-ci.yml @@ -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