Skip to content

Commit

Permalink
Github action of 'make test' can be run on a local.
Browse files Browse the repository at this point in the history
  • Loading branch information
koudaiii committed Oct 12, 2021
1 parent 173ffeb commit 91e6004
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

- name: make test
run: |
go test ./...
make test
depscheck:
name: depscheck
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,6 @@ depscheck:
@go mod tidy
@git diff --exit-code -- go.mod go.sum || \
(echo; echo "Unexpected difference in go.mod/go.sum files. Run 'go mod tidy' command or revert any go.mod/go.sum changes and commit."; exit 1)

test:
@go test ./...

0 comments on commit 91e6004

Please sign in to comment.