github.com/llir/llvm@v0.3.6/.github/workflows/fulltest.yml (about) 1 on: 2 push: 3 branches: 4 - 'master' 5 paths: 6 - '**.go' 7 pull_request: 8 branches: 9 - '*' 10 paths: 11 - '**.go' 12 # allow you to run this workflow manually from tab 13 workflow_dispatch: 14 15 jobs: 16 test: 17 name: Test 18 runs-on: ${{ matrix.os }} 19 strategy: 20 matrix: 21 os: [ubuntu-latest, macos-latest] 22 go-version: [1.15] 23 steps: 24 - name: Set up Go 1.x 25 uses: actions/setup-go@v2 26 with: 27 go-version: ${{ matrix.go-version }} 28 id: go 29 - name: Check out code into the Go module directory 30 uses: actions/checkout@v2 31 - name: Get dependencies 32 run: git submodule update --init 33 - name: Go Test 34 run: go test -timeout 1h ./... 35 - name: Go Race Test 36 run: go test -timeout 1h -race ./...