Skip to content

Commit 32a3d88

Browse files
feat: add Codecov action to upload test coverage and update README with Codecov badge
1 parent f4a98c7 commit 32a3d88

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,14 @@ jobs:
4242
if: ${{ matrix.go-version == '1.25.x' }}
4343
run: go test ./... -coverprofile=coverage.out -covermode=atomic
4444

45+
- name: Upload coverage to Codecov
46+
if: ${{ matrix.go-version == '1.25.x' }}
47+
uses: codecov/codecov-action@v4
48+
with:
49+
file: ./coverage.out
50+
flags: unittests
51+
name: codecov-umbrella
52+
fail_ci_if_error: false
53+
4554
- name: Build
4655
run: go build ./...

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11

22
# AIBoMGen CLI (WIP)
33

4+
[![codecov](https://codecov.io/gh/idlab-discover/AIBoMGen-cli/branch/main/graph/badge.svg)](https://codecov.io/gh/idlab-discover/AIBoMGen-cli)
5+
46
Work-in-progress Go CLI to auto-detect AI artifacts (Hugging Face model IDs in Python and common weight files) and emit CycloneDX AIBOM. Designed for consumer/embedded pipelines with near-zero config. Can be merged with already generated SBOMs (for example with Syft).
57

68
## Current

0 commit comments

Comments
 (0)