From 67ea48b7aab148c7c969b5f155fcd93d07edaf21 Mon Sep 17 00:00:00 2001 From: x5a17ed <0x5a17ed@tuta.io> Date: Sat, 11 Jan 2025 14:30:52 +0100 Subject: [PATCH] ci: disable race check on older versions of windows Signed-off-by: x5a17ed <0x5a17ed@tuta.io> --- .github/workflows/test.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3f259da..e242536 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -30,4 +30,10 @@ jobs: restore-keys: | ${{ runner.os }}-go-${{ matrix.go-version }}- - - run: go test -race ./... + - name: Run tests (with race detector on Linux) + if: matrix.os != 'windows-2019' + run: go test -race ./... + + - name: Run tests (without race detector) + if: matrix.os == 'windows-2019' + run: go test ./...