Skip to content

Also Test UTILMD FV2310 #1196

Also Test UTILMD FV2310

Also Test UTILMD FV2310 #1196

Workflow file for this run

name: coverage
on:
pull_request:
jobs:
coverage:
runs-on: ${{ matrix.os }}
strategy:
matrix:
go-version: ["1.22.x"] # the coverage measurement is enough in 1 version, no need for all
os: [ubuntu-latest]
steps:
- name: Install Go
if: success()
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Checkout Code
uses: actions/checkout@v4
- name: Calc coverage
run: go test ./bo ./com -v -covermode=count -coverprofile=coverage.out
- name: Convert coverage to lcov
uses: jandelgado/[email protected]
- name: Enforce Min Coverage
uses: VeryGoodOpenSource/[email protected]
with:
path: "coverage.lcov"
min_coverage: 80 # the plan is to increase this with time