File tree 2 files changed +14
-2
lines changed
2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 29
29
- name : Build
30
30
run : go build -v ./...
31
31
32
- - name : Test
33
- run : go test -v ./...
32
+ - name : Test with coverage
33
+ run : go test -p 1 -v -race -coverprofile=coverage.txt -covermode=atomic ./...
34
+
35
+ - name : Upload coverage to Codecov
36
+ if : matrix.os == 'ubuntu-24.04'
37
+ uses : codecov/codecov-action@v4
38
+ with :
39
+ token : ${{ secrets.CODECOV_TOKEN }}
40
+ file : ./coverage.txt
41
+ flags : unittests
42
+ name : codecov-umbrella
43
+ fail_ci_if_error : true
Original file line number Diff line number Diff line change 1
1
# go-python: Write Python in Go - The most intuitive Python wrapper for Golang
2
2
3
+ [ ![ codecov] ( https://codecov.io/github/cpunion/go-python/graph/badge.svg?token=DLVMvjAOFM )] ( https://codecov.io/github/cpunion/go-python )
4
+
3
5
## Goal
4
6
5
7
- Automatically DecRef for Python objects.
You can’t perform that action at this time.
0 commit comments