From 70ae680d6cf98db4585587d9ea263819f30fde84 Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Tue, 10 Oct 2023 19:28:50 +1100 Subject: [PATCH] Don't run fs tests on Windows --- .github/workflows/go.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 36d02b2f..acb07b2a 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -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 -- 2.44.0