Skip to content

Commit

Permalink
pass test in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
hidetatz committed Jul 29, 2023
1 parent 0b3c061 commit cbc841c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
- name: run test
run: make test
run: make gotest
8 changes: 7 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cbc841c

Please sign in to comment.