Skip to content

Commit

Permalink
Merge pull request #12 from koudaiii/koudaiii/make-test-in-local
Browse files Browse the repository at this point in the history
Local PC can run unit tests as well as on GitHub Action.
  • Loading branch information
magodo committed Oct 12, 2021
2 parents 173ffeb + 91e6004 commit e6ca9a0
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 e6ca9a0

Please sign in to comment.