]> Sergey Matveev's repositories - btrtrc.git/commitdiff
Don't run fs tests on Windows
authorMatt Joiner <anacrolix@gmail.com>
Tue, 10 Oct 2023 08:28:50 +0000 (19:28 +1100)
committerMatt Joiner <anacrolix@gmail.com>
Tue, 10 Oct 2023 08:28:50 +0000 (19:28 +1100)
.github/workflows/go.yml

index 36d02b2fa53b0c3638ee1a801d6916472b480314..acb07b2a48c94a03ec85a7ed1c8db1c5f9cef961 100644 (file)
@@ -5,7 +5,7 @@ on: [push, pull_request]
 jobs:
 
   test:
-    timeout-minutes: 30
+    timeout-minutes: 10
     runs-on: ${{ matrix.os }}
     strategy:
       matrix:
@@ -15,7 +15,9 @@ jobs:
     steps:
     - uses: actions/checkout@v2
     - uses: ./.github/actions/go-common
-    - run: go test -race -count 2 ./...
+    - run: go test -race -count 2 $(go list ./... | grep -v /fs)
+    - run: go test -race -count 2 ./fs/...
+      if: ${{ ! contains(matrix.os, 'windows') }}
 
   test-benchmarks:
     runs-on: ubuntu-latest