Skip to content

Add metric

Add metric #3831

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
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.22.3
cache: false
- name: Download dependencies
run: go mod download
- name: Test and generate coverage report
run: make cover_profile
- name: Upload coverage reports to Codecov
uses: codecov/[email protected] # https://github.com/codecov/codecov-action
with:
file: .build/coverage/unit_cover.out
exclude: ./
token: ${{ secrets.CODECOV_TOKEN }}
slug: cadence-workflow/cadence