From 33f1185eac10adb79f1fd4f2b5213281e66fdda0 Mon Sep 17 00:00:00 2001 From: Seth Hoenig Date: Sun, 1 Feb 2026 08:36:57 -0600 Subject: [PATCH] build: fix justfile test vs tests targets --- .github/workflows/ci.yaml | 2 +- Justfile | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index d52ec52..48effec 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -34,4 +34,4 @@ jobs: just sysinfo - name: Run Go Test run: | - just init tidy lint test + just init tidy lint tests diff --git a/Justfile b/Justfile index e0eb6f1..5b78d6e 100644 --- a/Justfile +++ b/Justfile @@ -15,9 +15,15 @@ tidy: # run tests across source tree [group('build')] -test: +tests: go test -v -race -count=1 ./... +# run specific unit test +[group('build')] +[no-cd] +test unit: + go test -v -count=1 -race -run {{unit}} 2>/dev/null + # ensure copywrite headers present on source files [group('lint')] copywrite: