Skip to content

Issue

Issue #2179

Workflow file for this run

name: Code Coverage
on:
pull_request:
# The branches below must be a subset of the branches above
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 2
- uses: actions/setup-go@v2
with:
go-version: '1.22'
- name: Run coverage
run: go test -race -coverprofile=coverage.out -covermode=atomic ./...
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
flags: backend,queue