Skip to content

app/sse: add block processing time metric #1423

app/sse: add block processing time metric

app/sse: add block processing time metric #1423

Workflow file for this run

name: Unit Tests
on:
pull_request:
push:
branches:
- main*
concurrency:
group: unit-tests-${{ github.ref }}
cancel-in-progress: true
jobs:
unit_tests:
runs-on: charon-ci
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- uses: ./.github/actions/setup-go
- uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
with:
path: |
~/go/pkg/mod
~/.cache/go-build
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- run: go test -coverprofile=coverage.out -covermode=atomic -timeout=10m -race ./...
- name: Upload coverage to Codecov
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: coverage.out