From 1644f906adcbaa316b6e80ac10b3010c2734f357 Mon Sep 17 00:00:00 2001 From: Gaukas Wang Date: Sat, 5 Aug 2023 14:08:55 -0600 Subject: [PATCH] Update ginkgo_test.yml (#8) --- .github/workflows/ginkgo_test.yml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/ginkgo_test.yml b/.github/workflows/ginkgo_test.yml index b6d0021bf..9bbdc6f35 100644 --- a/.github/workflows/ginkgo_test.yml +++ b/.github/workflows/ginkgo_test.yml @@ -13,9 +13,9 @@ jobs: strategy: fail-fast: false matrix: - os: [ "ubuntu-latest", "windows-latest", "macos-latest" ] + # os: [ "ubuntu-latest", "windows-latest", "macos-latest" ] go: [ "1.20.x", "1.21.0-rc.4" ] - runs-on: ${{ matrix.os }} + runs-on: "ubuntu-latest" steps: - uses: actions/checkout@v3 - uses: actions/setup-go@v4 @@ -28,15 +28,15 @@ jobs: TIMESCALE_FACTOR: 10 run: go run github.com/onsi/ginkgo/v2/ginkgo -r -v -cover -randomize-all -randomize-suites -trace -skip-package integrationtests - - name: Run tests (32 bit) - if: ${{ matrix.os != 'macos' }} # can't run 32 bit tests on OSX. - env: - TIMESCALE_FACTOR: 10 - GOARCH: 386 - run: go run github.com/onsi/ginkgo/v2/ginkgo -r -v -cover -coverprofile coverage.txt -output-dir . -randomize-all -randomize-suites -trace -skip-package integrationtests + # - name: Run tests (32 bit) + # if: ${{ matrix.os != 'macos' }} # can't run 32 bit tests on OSX. + # env: + # TIMESCALE_FACTOR: 10 + # GOARCH: 386 + # run: go run github.com/onsi/ginkgo/v2/ginkgo -r -v -cover -coverprofile coverage.txt -output-dir . -randomize-all -randomize-suites -trace -skip-package integrationtests - - name: Run tests with race detector - if: ${{ matrix.os == 'ubuntu' }} # speed things up. Windows and OSX VMs are slow - env: - TIMESCALE_FACTOR: 20 - run: go run github.com/onsi/ginkgo/v2/ginkgo -r -v -race -randomize-all -randomize-suites -trace -skip-package integrationtests \ No newline at end of file + # - name: Run tests with race detector + # if: ${{ matrix.os == 'ubuntu' }} # speed things up. Windows and OSX VMs are slow + # env: + # TIMESCALE_FACTOR: 20 + # run: go run github.com/onsi/ginkgo/v2/ginkgo -r -v -race -randomize-all -randomize-suites -trace -skip-package integrationtests