Skip to content

Commit 7cdadaf

Browse files
committed
Add standalone detection test to workflow
1 parent e7cb46d commit 7cdadaf

File tree

3 files changed

+67
-2
lines changed

3 files changed

+67
-2
lines changed

.github/workflows/test-depot-detection.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,15 @@ jobs:
2121
echo "=== DEPOT UBUNTU RUNNER TEST ==="
2222
echo "Hostname: $(hostname)"
2323
24-
# Build CLI
24+
# Build CLI and test program
2525
go build -o depot-test ./cmd/depot
26+
go build -o test-detection ./cmd/test-detection
2627
2728
# Run with debug
2829
export DEPOT_DEBUG_DETECTION=1
30+
echo -e "\n--- Running detection test ---"
31+
./test-detection || true
32+
2933
echo -e "\n--- Running depot version ---"
3034
./depot-test version || true
3135

depot.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{ "id": "bpmhgfvwcd" }
1+
{ "id": "7lnkh2fx9p" }

flake.lock

Lines changed: 61 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)