Debian Codegraph @

.github/workflows/test.yml

raw symbols SCIP
1 name: test
2 on:
3 pull_request:
4 paths-ignore:
5 - '*.md'
6 push:
7 branches:
8 - master
9 paths-ignore:
10 - '*.md'
11 jobs:
12 test:
13 name: test
14 runs-on: ubuntu-latest
15 timeout-minutes: 3
16 steps:
17 - uses: actions/setup-go@v5
18 with:
19 go-version: 1.23.3
20 - uses: actions/checkout@v4
21 - name: Test (race)
22 run: go test ./... -race
23 - name: Test (coverage)
24 run: go test ./... -coverprofile=coverage.txt -covermode=atomic
25 - name: Codecov
26 uses: codecov/[email protected]
27 with:
28 files: ./coverage.txt
29 token: ${{ secrets.CODECOV_TOKEN }}
30