forked from TrueCloudLab/rclone
Only test with -race using go latest
This commit is contained in:
parent
eaa717b88a
commit
54e37be591
1 changed files with 2 additions and 0 deletions
2
Makefile
2
Makefile
|
@ -38,7 +38,9 @@ test: rclone
|
|||
# Quick test
|
||||
quicktest:
|
||||
RCLONE_CONFIG="/notfound" go test $(BUILDTAGS) $(GO_FILES)
|
||||
ifdef GO_LATEST
|
||||
RCLONE_CONFIG="/notfound" go test $(BUILDTAGS) -cpu=2 -race $(GO_FILES)
|
||||
endif
|
||||
|
||||
# Do source code quality checks
|
||||
check: rclone
|
||||
|
|
Loading…
Add table
Reference in a new issue