add report && i386 test
@@ -74,5 +74,12 @@ jobs:
# - name: Build
# run: go build -v ./...
- - name: Test
- run: go test -v ./...
+ - name: 386 mode Test
+ run: GOARCH=386 go test -v ./... || exit 1
+
+ - name: amd64 mode Test
+ run: GOARCH=amd64 go test -v ./... -race -coverprofile=coverage.txt -covermode=atomic
+
+ - name: report coverage
+ run: bash <(curl -s https://codecov.io/bash)
+
