瀏覽代碼

added flag so tests will not run in parallel and corupt the DB for the other test(s)

Matthew R Kasun 4 年之前
父節點
當前提交
765d632c7c
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      .github/workflows/test.yml

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

@@ -19,5 +19,4 @@ jobs:
         uses: actions/checkout@v2
       - name: run tests
         run: |
-            go test ./test -v
-            go test ./controllers -v
+            go test -p 1 ./... -v