github.com/dolthub/go-mysql-server@v0.18.0/.github/workflows/server-test.yml (about)

     1  name: Test Server Engine
     2  on: [pull_request]
     3  
     4  concurrency:
     5    group: server-engine-test-${{ github.event.pull_request.number || github.ref }}
     6    cancel-in-progress: true
     7  
     8  jobs:
     9    test:
    10      strategy:
    11        matrix:
    12          go-version: [1.20.x]
    13          platform: [ubuntu-latest]
    14      runs-on: ${{ matrix.platform }}
    15      steps:
    16        - name: Install Go
    17          uses: actions/setup-go@v3
    18          with:
    19            go-version: ${{ matrix.go-version }}
    20        - name: Checkout code
    21          uses: actions/checkout@v3
    22        - name: Test using Server Engine
    23          if: ${{ matrix.platform == 'ubuntu-latest' }}
    24          run: go test ./...
    25          env:
    26            CI_TEST: "true"
    27            SERVER_ENGINE_TEST: "true"
    28        - name: Test using Server Engine
    29          if: ${{ matrix.platform == 'ubuntu-latest' }}
    30          run: go test -race ./...
    31          env:
    32            CI_TEST: "true"
    33            SERVER_ENGINE_TEST: "true"