Skip to content

Initial version of bice #1

Initial version of bice

Initial version of bice #1

Workflow file for this run

name: Go Test Coverage
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
coverage:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.23.4"
- name: Run Tests and Generate Coverage Report
run: go test ./... -coverprofile=cover.out
- name: Generate Coverage Badge
uses: vladopajic/go-test-coverage@v2
with:
profile: cover.out
local-prefix: github.com/yourusername/yourrepo
threshold-total: 90
badge-file-name: coverage.svg