github.com/annwntech/go-micro/v2@v2.9.5/.github/workflows/tests.yml (about)

     1  name: Run tests
     2  on: [push]
     3  
     4  jobs:
     5  
     6    test:
     7      name: Test repo
     8      runs-on: ubuntu-latest
     9      steps:
    10  
    11      - name: Set up Go 1.15
    12        uses: actions/setup-go@v1
    13        with:
    14          go-version: 1.15
    15        id: go
    16  
    17      - name: Check out code into the Go module directory
    18        uses: actions/checkout@v2
    19  
    20      - name: Get dependencies
    21        run: |
    22          go get -v -t -d ./...
    23  
    24      - name: Run tests
    25        id: tests
    26        env:
    27          IN_TRAVIS_CI: yes
    28        run: go test -v ./...
    29