Просмотр исходного кода

Test: add race detector

ref: https://golang.org/doc/articles/race_detector.html
kslr 5 лет назад
Родитель
Сommit
226416e81f
1 измененных файлов с 1 добавлено и 1 удалено
  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 ./...