github.com/phuslu/lru@v1.0.16-0.20240421170520-46288a2fd47c/.github/workflows/test.yml (about)

     1  name: test
     2  
     3  on:
     4    push:
     5      branches:
     6        - master
     7  
     8  jobs:
     9    test:
    10      runs-on: ubuntu-latest
    11      steps:
    12        - uses: actions/checkout@v4
    13        - name: Tests
    14          run: |
    15            go test -v -bench=. -race -count=1 -coverprofile=coverage.txt
    16        - name: Upload coverage reports to Codecov
    17          uses: codecov/codecov-action@v3
    18          with:
    19            token: ${{ secrets.CODECOV_TOKEN }}