fix(ci): restore workflow and LAN smoke tests (#1362)
This commit is contained in:
parent
6ee1b55896
commit
47dbdb29c0
|
|
@ -88,8 +88,6 @@ jobs:
|
||||||
# ADR-262 P1: `wifi-densepose-rufield` path-deps the `vendor/rufield`
|
# ADR-262 P1: `wifi-densepose-rufield` path-deps the `vendor/rufield`
|
||||||
# submodule. Without a recursive checkout the workspace build fails to
|
# submodule. Without a recursive checkout the workspace build fails to
|
||||||
# resolve those path deps in CI even though it passes locally.
|
# resolve those path deps in CI even though it passes locally.
|
||||||
with:
|
|
||||||
submodules: recursive
|
|
||||||
|
|
||||||
# `wifi-densepose-desktop` is a Tauri v2 app — `glib-sys`, `gtk-sys`,
|
# `wifi-densepose-desktop` is a Tauri v2 app — `glib-sys`, `gtk-sys`,
|
||||||
# `webkit2gtk-sys`, etc. need the Linux dev libraries via pkg-config or the
|
# `webkit2gtk-sys`, etc. need the Linux dev libraries via pkg-config or the
|
||||||
|
|
@ -146,7 +144,10 @@ jobs:
|
||||||
env:
|
env:
|
||||||
CARGO_PROFILE_DEV_DEBUG: "0"
|
CARGO_PROFILE_DEV_DEBUG: "0"
|
||||||
CARGO_PROFILE_TEST_DEBUG: "0"
|
CARGO_PROFILE_TEST_DEBUG: "0"
|
||||||
run: cargo test -p wifi-densepose-worldmodel --no-default-features
|
run: >-
|
||||||
|
cargo test
|
||||||
|
--manifest-path crates/worldgraph/wifi-densepose-worldmodel/Cargo.toml
|
||||||
|
--no-default-features
|
||||||
|
|
||||||
# ADR-134 CIR tests are behind the `cir` feature so the bench dependency
|
# ADR-134 CIR tests are behind the `cir` feature so the bench dependency
|
||||||
# (Criterion) only pulls when actually exercised. Run them as a separate
|
# (Criterion) only pulls when actually exercised. Run them as a separate
|
||||||
|
|
@ -249,7 +250,7 @@ jobs:
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
uses: codecov/codecov-action@v6
|
uses: codecov/codecov-action@v6
|
||||||
with:
|
with:
|
||||||
file: ./coverage.xml
|
files: ./coverage.xml
|
||||||
flags: unittests
|
flags: unittests
|
||||||
name: codecov-umbrella
|
name: codecov-umbrella
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -115,7 +115,7 @@ jobs:
|
||||||
# RUN guard catches missing ones at build time, this re-checks the
|
# RUN guard catches missing ones at build time, this re-checks the
|
||||||
# pushed artifact post-hoc as belt-and-braces).
|
# pushed artifact post-hoc as belt-and-braces).
|
||||||
# 2. /health is up.
|
# 2. /health is up.
|
||||||
# 3. /api/v1/info returns 200 with no auth (LAN-mode default).
|
# 3. /api/v1/info returns 200 with the explicit trusted-LAN opt-in.
|
||||||
# 4. With RUVIEW_API_TOKEN set, /api/v1/info returns 401 without a
|
# 4. With RUVIEW_API_TOKEN set, /api/v1/info returns 401 without a
|
||||||
# Bearer header, 200 with the correct one (the #443 auth middleware).
|
# Bearer header, 200 with the correct one (the #443 auth middleware).
|
||||||
# ---------------------------------------------------------------------
|
# ---------------------------------------------------------------------
|
||||||
|
|
@ -128,7 +128,10 @@ jobs:
|
||||||
'ls /app/ui/observatory.html /app/ui/pose-fusion.html /app/ui/index.html /app/ui/viz.html >/dev/null'
|
'ls /app/ui/observatory.html /app/ui/pose-fusion.html /app/ui/index.html /app/ui/viz.html >/dev/null'
|
||||||
docker run --rm "$IMAGE" sh -c 'ls -d /app/ui/observatory /app/ui/pose-fusion >/dev/null'
|
docker run --rm "$IMAGE" sh -c 'ls -d /app/ui/observatory /app/ui/pose-fusion >/dev/null'
|
||||||
|
|
||||||
docker run -d --name sm -p 3000:3000 -e CSI_SOURCE=simulated "$IMAGE"
|
docker run -d --name sm -p 3000:3000 \
|
||||||
|
-e CSI_SOURCE=simulated \
|
||||||
|
-e RUVIEW_ALLOW_UNAUTHENTICATED=1 \
|
||||||
|
"$IMAGE"
|
||||||
# Wait up to 30 s for /health.
|
# Wait up to 30 s for /health.
|
||||||
for _ in $(seq 1 30); do
|
for _ in $(seq 1 30); do
|
||||||
if curl -fsS http://127.0.0.1:3000/health >/dev/null 2>&1; then break; fi
|
if curl -fsS http://127.0.0.1:3000/health >/dev/null 2>&1; then break; fi
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue