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: