Skip to content

Exclude public wrappers from coverage (#1397) #380

Exclude public wrappers from coverage (#1397)

Exclude public wrappers from coverage (#1397) #380

Workflow file for this run

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.21.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/[email protected] # https://github.com/codecov/codecov-action
with:
file: .build/cover.out
exclude: ./
token: ${{ secrets.CODECOV_TOKEN }}
slug: uber-go/cadence-client