diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index e903011..2fdd8a5 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -9,4 +9,4 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v3 - name: run test - run: make test + run: make gotest diff --git a/Makefile b/Makefile index 07e11a6..e51a8d7 100755 --- a/Makefile +++ b/Makefile @@ -11,10 +11,16 @@ format: goimports -w . .PHONY: test -test: clean $(BIN) +test: clean $(BIN) gotest sbtest + +.PHONY: gotest +gotest: clean $(BIN) go mod tidy go vet go test ./... + +.PHONY: sbtest +sbtest: clean $(BIN) ls -1 tests/*.sb | xargs -L 1 ./shiba .PHONY: clean