github.com/fholzer/ordered-concurrently/v3@v3.0.0-20221001131746-406a6eece748/.github/workflows/tests.yml (about) 1 name: Tests 2 3 on: 4 push: 5 branches: [ '**' ] 6 pull_request: 7 branches: [ '**' ] 8 9 jobs: 10 11 build: 12 runs-on: ubuntu-latest 13 steps: 14 - uses: actions/checkout@v2 15 16 - name: Set up Go 17 uses: actions/setup-go@v2 18 with: 19 go-version: 1.15 20 21 - name: Test 22 run: go test -race -coverprofile=coverage.txt -covermode=atomic -v ./... 23 24 - name : Codecov 25 uses: codecov/codecov-action@v1 26 with: 27 token: ${{ secrets.CODECOV_TOKEN }} 28 files: ./coverage.txt 29 flags: unittests 30 fail_ci_if_error: true 31 verbose: true 32 33 34