forked from cadence-workflow/cadence-go-client
-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (27 loc) · 816 Bytes
/
codecov.yml
File metadata and controls
31 lines (27 loc) · 816 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
29
30
31
name: Workflow for Codecov integration
on: [push, pull_request]
jobs:
codecov:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: 'true'
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.24.x
cache: false
- name: Download dependencies
run: go mod download
- name: Test and generate coverage report
run: make unit_test
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4.5.0 # https://github.com/codecov/codecov-action
with:
file: .build/cover.out
exclude: ./
token: ${{ secrets.CODECOV_TOKEN }}
slug: cadence-workflow/cadence-go-client