File tree Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 19
19
go-version : " 1.16"
20
20
- name : " Run tests"
21
21
run : |
22
- make test
22
+ make test-all
23
23
- name : " Test gen doc"
24
24
run : |
25
25
make gen-doc
Original file line number Diff line number Diff line change @@ -21,6 +21,15 @@ gen-doc: ## generate markdown documentation
21
21
cat ./docs/* .md >> ./docs/reference.md
22
22
find ./docs -type f -not -name ' reference.md' -delete
23
23
24
- test : tidy cmd pkg # # launch tests
25
- test -z " ` gofmt -d . | tee /dev/stderr` "
24
+ test-linux :
26
25
go test $(TEST_OPTS ) ./...
26
+
27
+ test-windows :
28
+ GOOS=windows go test $(TEST_OPTS ) ./...
29
+
30
+ test-fmt :
31
+ test -z " ` gofmt -d . | tee /dev/stderr` "
32
+
33
+ test : tidy cmd pkg test-fmt test-linux # # launch tests
34
+
35
+ test-all : tidy cmd pkg test-fmt test-linux test-windows # # launch tests
You can’t perform that action at this time.
0 commit comments