Files
homarr/tools/homarr-dev/internal/registry/probe_test.go
T
Thomas Camlong 7710abcf26 feat(cli): rework developer CLI with non-blocking tasks and GitHub CI checks
Rebuild the developer CLI and interactive TUI from the ground up using
Bubble Tea v2, Lip Gloss v2, and non-blocking background workers. Adds
support for background docker pulls with live per-layer byte progress,
build log streaming, interactive container shells, dynamic sidebar
tabs (logs / build / ci), and gh cli integration to view or watch CI checks.
2026-08-21 15:40:04 +02:00

32 lines
598 B
Go

package registry
import (
"context"
"testing"
"time"
)
func TestPublishedTagsIntegration(t *testing.T) {
if testing.Short() {
t.Skip("network test")
}
ctx, cancel := context.WithTimeout(context.Background(), 25*time.Second)
defer cancel()
start := time.Now()
tags, err := PublishedTags(ctx, true)
if err != nil {
t.Skipf("GHCR unreachable: %v", err)
}
t.Logf("fetched %d tags in %s", len(tags), time.Since(start))
if len(tags) == 0 {
t.Fatal("expected at least one published tag")
}
found := 0
for tag := range tags {
if found < 5 {
t.Log(" ", tag)
found++
}
}
}