Skip to content

Commit f93b3f3

Browse files
ajitpratap0Ajit Pratap Singh
andauthored
test: Improve coverage to 80%+ and error handling (#313)
* test: improve coverage and error handling per architect review * fix: replace coverage-padding with real assertions --------- Co-authored-by: Ajit Pratap Singh <ajitpratapsingh@Ajits-Mac-mini-2655.local>
1 parent b188144 commit f93b3f3

File tree

4 files changed

+610
-1
lines changed

4 files changed

+610
-1
lines changed

.github/workflows/test.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,21 @@ jobs:
6262
name: codecov-${{ matrix.os }}-${{ matrix.go }}
6363
continue-on-error: true
6464

65+
race-check:
66+
name: Race Detector
67+
runs-on: ubuntu-latest
68+
steps:
69+
- uses: actions/checkout@v4
70+
71+
- name: Set up Go
72+
uses: actions/setup-go@v5
73+
with:
74+
go-version: '1.24'
75+
cache: true
76+
77+
- name: Run tests with race detector
78+
run: go test -race -short ./...
79+
6580
benchmark:
6681
name: Benchmark
6782
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)