github.com/ipld/go-ipld-prime@v0.21.0/.github/workflows/go-test-prime.yml (about)

     1  on: [push, pull_request]
     2  name: Go Test (go-ipld-prime custom)
     3  
     4  # Similar to go-test.yml but runs only on Linux and doesn't run tests with
     5  # coverpkg so we can properly execute the codegen behavior tests which are
     6  # skipped in go-test.yml execution.
     7  
     8  jobs:
     9    unit:
    10      strategy:
    11        fail-fast: false
    12        matrix:
    13          os: [ "ubuntu" ]
    14          go: [ "1.17.x", "1.18.x" ]
    15      runs-on: ${{ format('{0}-latest', matrix.os) }}
    16      name: ${{ matrix.os }} (go ${{ matrix.go }})
    17      steps:
    18        - uses: actions/checkout@v2
    19          with:
    20            submodules: recursive
    21        - uses: actions/setup-go@v2
    22          with:
    23            go-version: ${{ matrix.go }}
    24        - name: Go information
    25          run: |
    26            go version
    27            go env
    28        - name: Run tests
    29          uses: protocol/multiple-go-modules@v1.2
    30          with:
    31            run: |
    32              go test -v ./...