From de891ceb4b8e5ee204119e2578efd0151457ac01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edu=20G=C3=B3mez=20Escandell?= Date: Fri, 15 Sep 2023 10:25:26 +0200 Subject: [PATCH] Enable test shuffling --- .github/workflows/qa.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/qa.yaml b/.github/workflows/qa.yaml index 1f5295b5e..0fcbee84a 100644 --- a/.github/workflows/qa.yaml +++ b/.github/workflows/qa.yaml @@ -212,14 +212,14 @@ jobs: if: always() && !cancelled() working-directory: ${{ matrix.subproject }} run: | - go test -coverpkg=./... -coverprofile=/tmp/coverage.out -covermode=count ./... -tags=gowslmock + go test -shuffle=on -coverpkg=./... -coverprofile=/tmp/coverage.out -covermode=count ./... -tags=gowslmock - name: Run tests (with race detector) shell: bash # -race not supported on Windows if: matrix.os != 'windows' working-directory: ${{ matrix.subproject }} run: | - go test ./... -race -tags=gowslmock + go test -shuffle=on ./... -race -tags=gowslmock #- name: Upload coverage to Codecov # uses: codecov/codecov-action@v3 # with: