Skip to content

Badges

Badges #2

Workflow file for this run

name: Coverage
on:
push:
branches: [ "**" ]
pull_request:
branches: [ "main" ]
jobs:
coverage:
name: Unit test (linux)
runs-on: self-hosted
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1"
check-latest: true
- name: Run tests with coverage report output
run: go test -cover -coverpkg=./... -coverprofile=coverage.out ./...
- uses: k1LoW/octocov-action@v1