-
-
Notifications
You must be signed in to change notification settings - Fork 0
28 lines (24 loc) · 628 Bytes
/
codecov.yml
File metadata and controls
28 lines (24 loc) · 628 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: Code Coverage Report
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6.0.2
- name: Set up Go
uses: actions/setup-go@v6.3.0
with:
go-version: '1.25.5'
- name: Run Tests
run: go test -coverprofile=coverage.txt -covermode=atomic ./src/...
- uses: codecov/codecov-action@v5.5.2
with:
token: ${{ secrets.CODECOV_TOKEN }}