diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 1f2c1de..5ac6186 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -195,13 +195,23 @@ jobs: shell: bash - name: Test + if: ${{ matrix.os != 'windows-latest' }} env: SODA_DIALECT: "sqlite" run: | go test -tags sqlite -race ./... shell: bash + - name: Test without race detection + if: ${{ matrix.os == 'windows-latest' }} + env: + SODA_DIALECT: "sqlite" + run: | + go test -tags sqlite ./... + shell: bash + - name: Reset soda and run e2e + if: ${{ matrix.os != 'windows-latest' }} env: SODA_DIALECT: "sqlite" run: | @@ -209,3 +219,13 @@ jobs: soda create -e $SODA_DIALECT -p ./testdata/migrations go test -tags sqlite,e2e -race ./internal/e2e/... shell: bash + + - name: Reset soda and run e2e without race detection + if: ${{ matrix.os == 'windows-latest' }} + env: + SODA_DIALECT: "sqlite" + run: | + soda drop -e $SODA_DIALECT -p ./testdata/migrations + soda create -e $SODA_DIALECT -p ./testdata/migrations + go test -tags sqlite,e2e ./internal/e2e/... + shell: bash