CI(pico-sensor): tunnel ID can now be set directly in the pipeline
This commit is contained in:
@@ -23,9 +23,11 @@ pico-sensor-docker-build:
|
||||
pico-sensor-test:
|
||||
stage: test
|
||||
image: registry.forge.hefr.ch/team-raclette/project-softweng/pico-sensor:latest
|
||||
variables:
|
||||
TUNNEL_ID: "801000372" # Tunnel ID to reach the pico-sensor device
|
||||
script:
|
||||
- cd pico-sensor
|
||||
- cmake --preset Test
|
||||
- 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 -R ^DUMMY$
|
||||
|
||||
Reference in New Issue
Block a user