Sfoglia il codice sorgente

Test: add race detector

ref: https://golang.org/doc/articles/race_detector.html
kslr 5 anni fa
parent
commit
226416e81f
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      .github/workflows/test.yml

+ 1 - 1
.github/workflows/test.yml

@@ -34,4 +34,4 @@ jobs:
         uses: actions/checkout@v2
 
       - name: Test
-        run: go test -timeout 1h -v ./...
+        run: go test -v -race -timeout 1h ./...